Geotrek-admin icon indicating copy to clipboard operation
Geotrek-admin copied to clipboard

Upgrade to Leaflet 0.8 (a.k.a ~1.0)

Open leplatrem opened this issue 10 years ago • 6 comments

  • Vector loading is 8x faster (see #217)
  • It allows to choose layer panes, which would allow to get rid of costly and hazardeous code in Geotrek to some layers below or on top of others
  • It allows mixing Canvas and SVG layers on the same map. It will be interesting to put Canvas everywhere the objects layers are marked as non clickable. For example, everywhere the paths layer is shown in background : https://github.com/makinacorpus/Geotrek/blob/v0.27.2/geotrek/core/static/core/main.js#L22-L31 or for zoning layers, etc.

leplatrem avatar Oct 24 '14 07:10 leplatrem

Which version of Leaflet is actually used in Geotrek ?

camillemonchicourt avatar Jun 14 '16 10:06 camillemonchicourt

Need confirmation from @gutard but the one in Django Leaflet I suppose. Anyway the version 0.8 / 1.0 is not out yet, (still in rc) and there're some breaking change that need to be tested prior to upgrade dependencies.

SBats avatar Jun 14 '16 10:06 SBats

OK thanks.

camillemonchicourt avatar Jun 14 '16 10:06 camillemonchicourt

Exactly! 0.7.x. The upgrade is likely to require a tremendous amount of work, especially if they decide to switch lat/lon...

leplatrem avatar Jun 14 '16 11:06 leplatrem

1.0 is out now since a few months.

camillemonchicourt avatar Apr 10 '17 16:04 camillemonchicourt

Maybe check if https://github.com/robertleeplummerjr/Leaflet.glify (or similar ?) could not help with data performances

camillemonchicourt avatar Feb 04 '20 10:02 camillemonchicourt