Feature Request: Add support for projections not supported by Leaflet
See original GitHub issueThe Proj4Leaflet Javascript library adds support for additional projections in Leaflet, beyond the standard projections. Could this also be added to IPyLeaflet so that non-standard projections could be requested? For example:
map = ipyleafletee.Map(
crs='EPSG:3020', # http://spatialreference.org/ref/epsg/wgs-84-antarctic-polar-stereographic/
zoom=6,
center=[0, 0],
default_tiles=ipyleaflet.TileLayer(url=SOME_URL_THAT_RETURNS_PROJECTED_TILES)
)
map
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
leaflet does not handle projected coordinates and confuses ...
A user asked me why sp and rgdal are broken because leaflet does not display sp objects read in using rgdal. It is...
Read more >Leaflet proj4leaflet with multiple projections
Conclusion: I got email from Pier Liedman who wrote the Leaflet Proj4 plugin. It is not possible to have two CRS in one...
Read more >Proj4Leaflet - Support all projections and CRS in Leaflet
Proj4Leaflet makes it possible to use projections and CRS not built into Leaflet. All major projections are supported by using the popular and...
Read more >proj4leaflet - npm
This Leaflet plugin adds support for using projections supported by Proj4js. Proj4Leaflet uses Leaflet 1.0.3, for compatibility with Leaflet ...
Read more >Documentation - a JavaScript library for interactive maps
If not specified and at least one GridLayer or TileLayer is in the map, ... subdomains (used sequentially to help with browser parallel...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is no particular reason not to support it, and it would be great to have. I investigated the use of Proj4Leaflet with vector tiles (that we now have in ipyleaflet), which would have been really nice, but it doesn’t seem to be possible (https://github.com/kartena/Proj4Leaflet/issues/173). If you want to work on that, that would be awesome.
I was going to open this issue but it’s already open so, is there any reason why this is not supported? I think a lot of people work with non standard projections and it would be nice-to-have feature. I can work on it and send a PR for next week.