Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Setting Map Control Parameters


This topic describes map control parameters.


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

Parameter Values Description



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


0, 1

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


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.

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">

See Also

© 2015 Microsoft