src/directives/glMarkers.js
Function mapboxGlMarkersDirectiveLink
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mapboxGlMarkersDirectiveLink (scope, element, attrs, controller) {
if (!controller) {
throw new Error('Invalid angular-mapboxgl-directive controller');
}