geolucidate.links.osm – OpenStreetMap link generator

Returns a function for generating links to OpenStreetMap.

Parameters:link – Link-generating function; defaults to default_link()
>>> from .tools import MapLink
>>> openstreetmap_link()(MapLink("CN Tower", "43.6426", "-79.3871"))
u'<a href="http://www.openstreetmap.org/?mlat=43.6426&mlon=-79.3871&zoom=9" title="CN Tower (43.6426, -79.3871)">CN Tower</a>'

Previous topic

geolucidate.links.google – Google Maps link generator

Next topic

geolucidate.links.yahoo – Yahoo Maps link generator

This Page