app/assets/javascripts/manage/map.js
Function initMap
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.initMap = function() {
if (!this || this.length == 0) {
return;
}
Function ready
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ready(error, us) {
if (error) return console.error(error);
svg
.append('path')