geolucidate.links.yahoo – Yahoo Maps link generator

Returns a function for generating links to Yahoo Maps.

Parameters:
  • type – map type, one of ‘map’, ‘satellite’, or ‘hybrid’
  • link – Link-generating function; defaults to default_link()
>>> from .tools import MapLink
>>> yahoo_maps_link()(MapLink("CN Tower", "43.6426", "-79.3871"))
u'<a href="http://maps.yahoo.com/#lat=43.6426&lon=-79.3871&mvt=h&zoom=10&q1=43.6426%2C-79.3871" title="CN Tower (43.6426, -79.3871)">CN Tower</a>'

Previous topic

geolucidate.links.osm – OpenStreetMap link generator

Next topic

geolucidate.links.tools – Utility functions for map link generators

This Page