Jump to: navigation, search

Changes


Map View (Xamarin)

40 bytes added, 11:41, 18 September 2023
/* Customizable tile source for Bing road maps {{Version/XamarinSince|4.5}} */
By default (namely <code>BingRoadTilesUrl</code> is unspecified), the following URL pattern is used.
<code><nowiki>http://ak.dynamic.t{s}.tiles.virtualearth.net/comp/ch/{quadkey}?mkt=en-US&amp;amp;it=G,L&amp;amp;shading=hill&amp;amp;og=2290&amp;amp;n=z&amp;amp;token={k}</nowiki></code>
In this case, all tiles are delivered in English since that's requested through <code><nowiki>mkt=en-US</nowiki></code>. Please refer to [https://learn.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/supported-culture-codes supported culture codes] from Microsoft when you want tiles in other languages.
{{Hint|Microsoft also provides a Chinese server URL pattern<br/> <code><nowiki>https://dynamic.t{s}.tiles.ditu.live.com/comp/ch/{quadkey}?mkt=zh-CN&amp;amp;it=G,L&amp;amp;ur=CN&amp;amp;og=804&amp;amp;n=z&amp;amp;token={k}</nowiki></code>.<br/> Just for clarification, it is also possible to request map tiles in Chinese using the default URL pattern as long as the correct culture code is specified, namely <code><nowiki>mkt=zh-Hans</nowiki></code>, <code><nowiki>mkt=zh-Hant</nowiki></code> or <code><nowiki>mkt=zh-CN</nowiki></code>.<br/> But the dedicated one might deliver tiles that comply more to the local laws. Please choose one that you see fit.}}
[[Category:Client|Map View (Xamarin)]]