app/scripts/minimap/minimap.controller.js
Function MinimapController
has 195 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function MinimapController(ol, proj4, SitesService, CamFrustumService, Messagebus, DrivemapService) {
var me = this;
var olProjectionCode = 'EPSG:3857';
var siteProjectionCode = null;
Function setupResizeControl
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.setupResizeControl = function() {
function ResizeControl(optOptions) {
var options = optOptions || {};
var button = document.createElement('button');
Function ResizeControl
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ResizeControl(optOptions) {
var options = optOptions || {};
var button = document.createElement('button');
button.innerHTML = '<span class="glyphicon glyphicon-resize-full"></span>';
Function MinimapController
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function MinimapController(ol, proj4, SitesService, CamFrustumService, Messagebus, DrivemapService) {