GeoSensorWebLab / polarmap.js

Custom Leaflet layer for re-projecting maps and map features
BSD 2-Clause "Simplified" License
53 stars 23 forks source link

Unable to fit the map to the existing extent #17

Open deviirmr opened 3 years ago

deviirmr commented 3 years ago

I have add a geojson point layer to the map and then I use function map.fitBounds(pointGeojsonLayer.getBounds());

I noticed pointGeojsonLayer.getBounds() return an extent in epgd:4326 cordinate only which is not get fitted on the polar map. do I need to project the output of pointGeojsonLayer.getBounds()