View Full Version : Leaflet: A java (script) library for interactive maps on web pages.

07-09-2011, 09:24 PM
Just came across this:


Its supposed to allow you to put in google map style maps on to web pages and then also have java calls to do popups, poly lines and so on. It looks to me as tho it makes the process of getting those maps tiles into a zoomable web page map easier. Doing myself out of a job here... but anyone want to try this out ? I don't need it and I don't do java.

07-10-2011, 02:07 AM
It's Javascript, not Java, two completely different languages.

It looks a lot like OpenLayers which is what I use for web GIS. It's a Javascript client for an OGC Web Map Service and similar services (TMS, WFS, etc) which must be set up separately (say with GeoServer or MapServer) or provided by a third party. This one is particularly made to use CloudMade's map services based on Open Street Map.

07-15-2011, 04:54 AM
Looks smilar to OpenLayers and google maps.

What I've found (I worked in the GIS industry for a year) is that these tools are great for navigating and for showing information, but they don't support the "fancy" touch you look for in a map for gaming purposes. What you want for a game map is smooth zooming, fading, animated highlights, etc.

07-30-2011, 07:30 AM
On a similar note, here is another zoomable map creator for phones. Again, no idea if this is any good - just throwing it out there.


10-29-2013, 05:16 AM
leaflet looks nicer than openlayer in my opinion (smooth transition). Here is a quick (fantasy) map I made using a tutorial :

- the map : http://anamnese.online.fr/carte/leaflet.html

- the tutorial Pedro's Tech Mumblings: Zoomable image with Leaflet (http://build-failed.blogspot.fr/2012/11/zoomable-image-with-leaflet.html)

I've used the open source version of maptiler from https://github.com/calvinchengx/maptiler

11-01-2013, 08:21 PM
leaflet looks nicer than openlayer in my opinion (smooth transition).

OL 3 is a big improvement in that regard.