app/assets/javascripts/maps.js
Function initMap
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function initMap() {
map = new google.maps.Map(document.getElementById(Settings.id), {
center: {lat: Settings.lat, lng: Settings.lng},
zoom: Settings.zoom