10 out of 11 rated this helpful - Rate this topic

Returning a Localized Map

Bing Services

The Bing Maps AJAX Control 7.0 provides the ability to return a localized map and route directions.

Setting the Culture

By default the map labels and the navigation control text are provided in the culture English-United States (en-US). However, the map control culture can be changed by adding the mkt parameter to the map control reference, as in the following example, which sets the culture to French-France (fr-FR).

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

Supported Cultures

The following table lists supported cultures for the map control imagery and Microsoft.Maps.Directions module. The Culture column lists the valid values for the mkt parameter.

Language - Country/Region Culture Map Control Microsoft.Maps.Directions module

Czech – Czech Republic

cs-CZ

X

Danish – Denmark

da-DK

X

Dutch - Belgium

nl-BE

X

Dutch – Netherlands

nl-NL

X

English - Australia

en-AU

X

English – Canada

en-CA

X

X

English - India

en-IN

X

English - United Kingdom

en-GB

X

X

English - United States

en-US

X

X

Finnish – Finland

fi-FI

X

French – Canada

fr-CA

X

X

French – France

fr-FR

X

X

German – Germany

de-DE

X

X

Italian – Italy

it-IT

X

X

Japanese - Japan

ja-JP

X

X

Norwegian (Bokmal) - Norway

nb-NO

X

Portuguese - Brazil

pt-BR

X

Portuguese - Portugal

pt-PT

X

Spanish - Mexico

es-MX

X

X

Spanish - Spain

es-ES

X

X

Spanish – United States

es-US

X

X

Swedish - Sweden

sv-SE

X

Remarks

  • Error messages are always displayed in English - United States.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.