ikiwiki/doc/todo/replace_openlayers_with_lea...

4 lines
497 B
Plaintext
Raw Normal View History

2015-04-18 19:44:45 +02:00
Openlayers is *huge*! At 200k lines of code and 450KB, it is a significant overhead on a GIS-enabled modest ikiwiki site. It would be good to consider switching to [Leaflet](http://leafletjs.com/) which is only 123KB ([source](https://en.wikipedia.org/wiki/Leaflet_(software))).
2015-04-18 19:42:44 +02:00
This would imply rewriting osm.js and probably bits of osm.pm, but would give us significant gains in performance... Leaflet is used by Flickr, Wikimedia, the main OpenStreemap map site and many others. --[[anarcat]]