geolucidate.links.bing – Bing Maps link generator

Returns a function for generating links to Bing Maps.

Parameters:
  • type – map type, one of ‘map’, ‘satellite’, or ‘hybrid’
  • link – link-generating function; defaults to default_link()
>>> from .tools import MapLink
>>> bing_maps_link()(MapLink("CN Tower", "43.6426", "-79.3871"))
u'<a href="http://bing.com/maps/default.aspx?style=h&cp=43.6426%7E-79.3871&sp=Point.43.6426_-79.3871_CN+Tower&v=2" title="CN Tower (43.6426, -79.3871)">CN Tower</a>'

Previous topic

Link generators

Next topic

geolucidate.links.google – Google Maps link generator

This Page