based on GoogleMap API from Benjamin C. Wilson (2006)
Cookbook on PmWiki
OLA source code on GitHub
alpha version for test only
syntax :
- ola-map : define the map viewer
- ctrl : set navigation controler
- view : set render map style
- mapnik (default osm rendering)
- cyclemap (free render emphasis on cycle)
- openmapquest (free render from mapquest based on osm data, emphasing on roads)
- lat : latitude (map center)
- lon : longitude (map center)
- zoom : zoom factor (1 from 19)
- width : map width (pixels or %)
- height : map height (pixels or %)
- ola-point : define marker to put on the map
- lat : latitude (marker position)
- lon : longitude (marker position)
- text : text to be display when marker was clicked (do not works)
The Map :
Click on "Edit" to see the pmWiki code to embed an OSM Map
See PmWiki code.