Setting Map Control Parameters


You are not viewing the latest version of the Bing Maps Web control (AJAX). Bing Maps V8 Web Control is the recommended JavaScript control for Bing Maps.

This topic describes map control parameters.

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






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.


For a list of values, see the Region Localities section in the Geospatial Endpoint Service topic.

User Region: The country or region that was used to determine service support

A string that contains an ISO 3166-1 alpha-2 region code

If you specified a latitude and longitude in the request that is in a non-disputed country or region, this country or region is returned in the response.

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