Wlmmap is the web application behind http://www.panoramap.org
All the data displayed on http://www.panoramap.org come from the Wikimedia Commons database and are released under a free license.
Users can display cultural heritage monuments for a country/language on a map.
For example, you can display monuments from France in french or from France in catalan: pick up the one you want from the menu, then click “Show”.
This will load data in a local copy of of the Wikimedia Commons monuments database, maintained by multichill.
If you click on “Here”, this will request the monuments database directly, not the local copy, and display the results on the map.
Wlmmap is built on top of mapbox.js which relies on leaflet.js to display maps from OpenStreetMap.
The javascript part of wlmmap is compiled from the ClojureScript
(.cljs
) file.
This .cljs
file uses blade, a ClojureScript wrapper for leaflet
and/or mapbox by Tom White – thanks to him for his help.
The toolserver does not allow more than 5000 results, while countries often have a lot more monuments.
So we stored a copy of the monuments database in a redis instance,
from which we can get faster results. Then, since clustering >10000
markers takes long, we display monuments one by one instead, using the
experimental core.async
Clojure library.
This (hopefully) leaves the UI reactive.
You can help by proposing patches for
- the localization;
- using
addLayers
instead ofaddLayer
to bulk add markers to the markercluster (see https://github.com/Leaflet/Leaflet.markercluster)
Thanks!
wlmmap is released under the Eclispe Public License, the same as Clojure.