Showing 3 of 9 total issues
File index.js
has 321 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// ESLINT:/* global L, moment, $ */ const MAX_RADIUS = 50; // Radius distance in KM
Function createBird
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
createBird(bird) { const { latLng } = bird.loc; const icon = L.divIcon({ html: '<i class="fa-solid fa-dove fa-2x"></i>',
Function constructor
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
constructor(elementId, currentPosition) { const tileLayerSource = 'https://a.tiles.mapbox.com/styles/v1/lohneswright/ciocejooj006obdnjhmd2x9qp/tiles/{z}/{x}/{y}?access_token={accessToken}'; const map = L.map(elementId).setView([37.42, -121.91], 13);