GeoSensorWebLab / polarmap.js

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

polarmap.js version for leaflet 1.x? #6

Open jelpatte opened 7 years ago

jelpatte commented 7 years ago

Your readme file mentions under compatibility that there are two versions of polarmap.js and that v2 is compatible with leaflet 1.x but I only see versions that work with leaflet 0.7. Can you please point me to the refactored polarmap so that I can test it with the new version of leaflet? I have new plugins that I would like to try incorporating but they only work on Leaflet 1.x.

openfirmware commented 7 years ago

Hi!

Unfortunately that text is unclear and it was intended to be a roadmap of how PolarMap.js versions will match to Leaflet versions in the future. There is no Leaflet 1.x tested release of PolarMap yet. I expect there to be some significant changes in how projections are handled in Leaflet, so testing and development might take awhile and I am unable to dedicate time to it this month.

jelpatte commented 7 years ago

@openfirmware Thanks for the response! That's too bad, I was hoping you had already tackled it as I expect it to be a fair amount of work to adapt to the new version of leaflet as well. As I am very interested in using polarmap.js please let me know if you'd like to collaborate on this when you have time to work on it in the future and I will hope to have time to help how I can.

JoeMatulka commented 7 years ago

+1 on this.

This library looks very good and I am on Leaflet 1.x. I followed the using instruction and was getting errors.

Any updates of support on high Leaflet versions?

liangsteve commented 7 years ago

Sorry. The project ends and it will slow down our pace to update the library. Any contribution from the community will be highly welcome.

MattBlissett commented 7 years ago

I ran into a bug with Leaflet's handling of polar projections, but I haven't investigated since I found that problem.

We have an example here: http://tile.gbif.org/ui/3575/leaflet.html though it's not directly compatible with the polarmap tile schema. I think all you'd need to change is var extent to get a basic map working.