Showing routes in maps I have a collection of points (latitude/longitude) that i would like to represent on a Map as route. Is there a module that permits this?
Funny you should say that. I just fixed a bug in leaflet module that was preventing me from showing linestrings (i.e. a route).

There are other ways of doing this but this is a good efficient way and leaflet maps are beautiful!


Install the patched version (i.e. the latest and greatest version) of leaflet module - http://drupal.org/node/1707882
Apply the tiny change I put here - http://drupal.org/node/1667780
Install http://drupal.org/project/geofield (7-1.x-dev version) and http://drupal.org/project/geophp
Install http://drupal.org/project/leaflet_more_maps to get a whole bunch of ready made tiles.
Add a field to your node using geofield with WKT format.
Add a node with your points using the WKT linestring format for your route = LINESTRING(lon lat, lon lat, lon lat)
Change the display format for the field to leaflet and choose which map style you want.


http://en.wikipedia.org/wiki/Well-known_text

http://leaflet.cloudmade.com/

Add a comment here if you get stuck at any point.