none
Bing Static Maps RRS feed

  • Question

  • Hi,

    Is it possible to embed a Bing Maps image on a webpage without requiring JavaScript or any dynamic page loading?

    So what I am after is passing the latitude, longitude and the zoom level to the Bing Maps service which returns the map as an image I can display on a web page just like Google Static Maps API does at http://code.google.com/apis/maps/documentation/staticmaps/

    I would like to use Bing Maps so can Bing Maps do this?
    • Moved by Ricky_Brundritt Friday, March 9, 2012 4:13 PM (From:Bing Maps: Map Control and Web services Development)
    Friday, March 12, 2010 12:51 PM

Answers

  • Currently this is not available. You can use the embed maps  of Bing Maps that embeds either the AJAX or the Silverlight control in an IFrame for you: http://msdn.microsoft.com/en-us/library/ee692180.aspx

    Alternatively you could write a simple server side handler the grabs the image from the Bing Maps Imagery service and then return the image to the page.

    As for being able to retrieve an image purely using a url to Bing, this is something that has been requested before and may be available in a future release.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com
    Friday, March 12, 2010 12:56 PM

All replies

  • Currently this is not available. You can use the embed maps  of Bing Maps that embeds either the AJAX or the Silverlight control in an IFrame for you: http://msdn.microsoft.com/en-us/library/ee692180.aspx

    Alternatively you could write a simple server side handler the grabs the image from the Bing Maps Imagery service and then return the image to the page.

    As for being able to retrieve an image purely using a url to Bing, this is something that has been requested before and may be available in a future release.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com
    Friday, March 12, 2010 12:56 PM
  • Bing branded static maps are available from their Multimap stablemate
    http://www.multimap.com/openapidocs/1.2/web_service/staticmaps.htm
    • Marked as answer by CCR_101 Saturday, March 13, 2010 2:44 PM
    • Unmarked as answer by Ricky_Brundritt Wednesday, March 9, 2011 9:58 PM
    Friday, March 12, 2010 7:21 PM
  • It looks like you can do Bing static maps. More info at http://www.multimap.com/openapidocs/1.2/web_service/staticmaps.htm
    • Marked as answer by CCR_101 Saturday, March 13, 2010 2:44 PM
    • Unmarked as answer by Ricky_Brundritt Saturday, March 13, 2010 4:38 PM
    Saturday, March 13, 2010 1:36 AM
  • Just to say that static map images are now possible using the Bing Maps REST services, using the following URI syntax:

    http://dev.virtualearth.net/REST/version/Imagery/Map/imagerySet/centerPoint/zoomLevel&mapSize=mapSize&pushpin=pushpin&mapLayer=mapLayer&key=BingMapsKey

    Further examples here: http://msdn.microsoft.com/en-us/library/ff701724.aspx


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Monday, August 2, 2010 8:18 AM
    Moderator
  • I have tried to post to facebook feed with the link like above but facebook feed did not display the bing map static. May i know how to post bing static map on facebook feed? 
    Wednesday, March 9, 2011 9:08 PM
  • Use the Bing Maps REST services. I've used this with Facebook before without any issues.
    Windows Live Developer MVP - http://rbrundritt.spaces.live.com | http://inknowledge.co.uk
    Wednesday, March 9, 2011 10:08 PM
  • Yes Richard, I am using the rest services. But when I post it to feed, the image is not available and cannot be displayed. However, I can generate it in somewhere else using the same url syntax..

    Thursday, March 10, 2011 6:02 AM