Jump to: navigation, search

Changes


Map View (Xamarin)

149 bytes added, 12:54, 1 September 2023
/* Customizable tile source for Bing road maps {{Version/XamarinSince|4.5}} */
== Customizable tile source for Bing road maps {{Version/XamarinSince|4.5}} ==
Bing maps support many parameters and offer multiple servers to deliver map tiles. {{UBIK}} allows the user to customize the <code>BingRoadTilesUrl </code> in a profile to achieve the following.
* Use different servers to get the more reliable and suitable tiles service if necessary;
* Specify a language/culture in which the tiles should be delivered;
* Or even request different types of Bing map tiles.
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;it=G,L&amp;shading=hill&amp;og=2290&amp;n=z&amp;token={k}</nowiki></code>
{{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;it=G,L&amp;ur=CN&amp;og=804&amp;n=z&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)]]
[[Category:Version 1.1|Map View (Xamarin)]]
[[Category:Xamarin|Map View (Xamarin)]]
= UBIK Map Content =