app/scripts/searchbox/searchbox.controller.js
Function SearchPanelController
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function SearchPanelController(BingGeoCoderService, SceneService, PathControls, Messagebus, $window, toastr, THREE, proj4) {
this.query = '';
this.hasGeoLocation = 'geolocation' in $window.navigator;
this.clear = function() {
Function SearchPanelController
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function SearchPanelController(BingGeoCoderService, SceneService, PathControls, Messagebus, $window, toastr, THREE, proj4) {