From 6deeb32ed6f6d1ccb2aaaa58278743b55ad23fab Mon Sep 17 00:00:00 2001 From: "https://id.koumbit.net/anarcat" Date: Sat, 18 Apr 2015 13:42:44 -0400 Subject: [PATCH] --- doc/todo/replace_openlayers_with_leaflet.mdwn | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 doc/todo/replace_openlayers_with_leaflet.mdwn diff --git a/doc/todo/replace_openlayers_with_leaflet.mdwn b/doc/todo/replace_openlayers_with_leaflet.mdwn new file mode 100644 index 000000000..f042ad0b8 --- /dev/null +++ b/doc/todo/replace_openlayers_with_leaflet.mdwn @@ -0,0 +1,3 @@ +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)#Comparison_with_other_libraries)). + +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]]