Export (0) Print
Expand All

Setting Map Control Parameters

Bing

This topic describes map control parameters.

Parameters

The following table contains available parameters for the map control reference.

Parameter Values Description

v

7.0

Specifies a major API version. The default value is the latest version, which is 7.0.

s

0, 1

Specifies whether to use SSL. Set this value equal to 1 to use SSL. The default value is 0.

mkt

See the Localizing the Map topic for a list of values.

Specifies the language to use for the map. The default value is "en-US" (English). See Localizing the Map for more details.

Hh134781.note(en-us,MSDN.10).gifNote:
With new features currently in preview, you can show map labels in two languages and show the local language for each location. These preview features are described in Localizing the Map.

Setting Parameters

To add a parameter to the map control src URL, add a "?", the parameter, and set it "=" to one of the allowable values. Use "&" to separate parameters.

The following example sets the map control version to 7.0 and the market to Italian.

<script charset="UTF-8" type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0&mkt=it-IT">
</script>

See Also

Show:
© 2014 Microsoft