Export (0) Print
Expand All

What's New in the REST Services

Bing

The Bing Maps REST Services contains the following new features.

January, 2014

API Release History

Starting with January, 2014, the Bing Maps REST Services API documentation includes a Release History.

You now have an additional 40 pushpin icons to use with static maps. [Static Maps]

See Pushpin Syntax and Icon Styles to view the new icons with IDs 73-112.

Specify include=cios2 to receive the two-letter ISO country code when you geocode or reverse-geocode. [Locations API]

When you specify include=cios2 in your Locations API request, the two-letter ISO 3166 country code is returned in for each address in the response in a new a CountryRegionIso2 field.

Example

http://dev.virtualearth.net/REST/v1/Locations/US/WA/98052/Redmond/1%20Microsoft%20Way?o=xml&include=ciso2&key=BingMapsKey

Example address response

<Address>
  <AddressLine>1 Microsoft Way</AddressLine>
  <AdminDistrict>WA</AdminDistrict>
  <AdminDistrict2>King Co.</AdminDistrict2>
  <CountryRegion>United States</CountryRegion>
  <FormattedAddress>1 Microsoft Way, Redmond, WA 98052</FormattedAddress>
  <Locality>Redmond</Locality>
  <PostalCode>98052</PostalCode>
  <CountryRegionIso2>US</CountryRegionIso2>
</Address>

October, 2013

You can now select the icons for route waypoints on static maps [Static Maps]

 A new feature allows you to specify any pushpin icon style and a label for every route waypoint when you a make a static map route request (Walking/Routing/Transit). Prior to this new feature, pushpin icon styles 50 and 53 were used to display route waypoints on a static map. With this new feature, you can optionally choose any pushpin icon and create labels up to three characters. The new waypoint syntax is wp.n=location;iconID;label.

The following road map example uses icons 64 and 66 to display the road route endpoints which are identified as “1” and “2”.

http://dev.virtualearth.net/REST/v1/Imagery/Map/Road/Routes?wp.0=Seattle,WA;64;1&wp.1=Redmond,WA;66;2&key=BingMapsKey
Static map with route overlay



Show:
© 2014 Microsoft