Operation: CreateBingURL
CreateBingURLBing MapsInput
When using the CreateBingURL operation, the adapter expects an XML input document that defines the URL part of the Bing Static Maps API in the Path element and the map section to be created in various Param elements. A parameter with attribute name="mapSize" contains the pixel dimensions of the map section to be created.
Sample input
<BingMaps>
<Path>Imagery/Map/Road/Routes</Path>
<Param name="mapSize">640x640</Param>
<Param name="wp.0">
Seattle,WA;64;1
</Param>
<Param name="wp.1">
Redmond,WA;66;2
</Param>
</BingMaps>
For more information on creating and formatting Bing Maps map cutout graphics, see Bing Static Map API at https://msdn.microsoft.com/en-us/library/ff701724.aspx.
Output
For the operation CreateBingURL an XML document will be output that contains a URL for a Bing Maps map section that corresponds to the input. The outputFormat is passed to the o parameter in the URL.
<HREF>
https://dev.virtualearth.net/REST/v1/Imagery/Map/Road/RoutesmapSize=640%2C640&wp.0=Seattle%2CWA%3B64%3B1&wp.1=Redmond%2CWA%3B66%3B2&key=AjGQcOkb94CdwAWZxnYndqRtpQRj7_Vmy4FDZoho2zyfHfyAcsDHxuaDLMpprFm&o=xml
</HREF>