Select to view content in your preferred language

Refer client application current culture info when accessing Bing Maps

447
0
01-18-2012 12:03 AM
Status: Open
by Anonymous User
Not applicable

 

When accessing Bing Maps, some of ArcGIS applications such as ArcGIS Desktop, ArcGIS Explorer Online, and ArcGIS Viewer for Silverlight ignore client culture information and access Bing Maps with “en-US” culture info.

However, for some region, Bing Maps is optimized for the local use, and client applications need to access Bing Maps with appropriate culture info in order to take advantage of the optimized local Bing Maps view.

For example, following picture shows the difference of Bing Map appearance in Japanese region, when client application access with “en-US” culture info (left-side map) and “ja-JP” culture info (right-side map).

 


0EM30000000Cve6
 

 

Following is another example which shows the web request to Bing Maps service from ArcGIS.com JavaScript viewer.

http://t2.tiles.virtualearth.net/tiles/r13300211231231.jpeg?g=851&mkt=en-US&shading=hill&token=*****...

You can see that mkt parameter is set to “en-US”, even though my system environment is Japanese operating system.

To reflect client culture info, application needs to add culture parameter when throwing a request to Bing Maps service. There are several applications such as ArcGIS for iOS application and ArcGIS Viewer for Flex that implement this behavior.

Because ArcGIS is now a global software product, all of the applications should refer its client culture info when accessing web services or processing any other culture-related functionality.