Skip to content

Clojure/ClojureScript web application for the Wiki Loves Monuments map

Notifications You must be signed in to change notification settings

Aubreymcfato/wlmmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Wlmmap ?

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.

Core features

See http://www.panoramap.org

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.

Implementation

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.

Slow results?

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.

Support

You can help by proposing patches for

Thanks!

License

wlmmap is released under the Eclispe Public License, the same as Clojure.

About

Clojure/ClojureScript web application for the Wiki Loves Monuments map

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages