Bing Maps cannot use the {s} parameter

wuahi105 shared this problem 9 months ago
Solved

<url><![CDATA[http://t{s}.dynamic.tiles.ditu.live.com/comp/ch/{c}?mkt=zh-cn&it=A&shading=hill&og=8&n=z]]></url>;
<serverPart>1;2;3</serverPart>

When I use bing to customize the map, I found that I can't use the parameter {s}, I can only specify one of the URL addresses, I don't know if there is a mistake in the way I wrote it or if there is an error in the software itself.

Replies (3)

photo
1

Hello,

what exactly means "cannot use"? The app does not react on the {s}erver parameter? You may even hardcode one of the values and do not use this parameter at all.

photo


当我使用自定义Bing地图时候,发现不能使用{s}这个参数,如果使用那么就会出现错误
<url><![CDATA[http://t{s}.dynamic.tiles.ditu.live.com/comp/ch/{c}?mkt=zh-cn&it=A&shading=hill&og=8&n=z]]></url>;
<serverPart>1;2;3</serverPart>
***************************************************************************************************
我只能指定1,2,3
<url><![CDATA[http://t1.dynamic.tiles.ditu.live.com/comp/ch/{c}?mkt=zh-cn&it=A&shading=hill&og=8&n=z]]></url>;
<url><![CDATA[http://t2.dynamic.tiles.ditu.live.com/comp/ch/{c}?mkt=zh-cn&it=A&shading=hill&og=8&n=z]]></url>;
<url><![CDATA[http://t3.dynamic.tiles.ditu.live.com/comp/ch/{c}?mkt=zh-cn&it=A&shading=hill&og=8&n=z]]></url>;
***************************************************************************************************
不知道是我编写的图层语法不对,还是app自身的BUG


/g?b=oidb&k=5wLl9Mgr4lW1EnPxVl1mjw&kti=ZIJ8swAAAAI&s=640&t=1664435711

晨曦之光
117978601@qq.com

photo
1

Hello,

thanks. May I please ask to share a full XML file you try to use? I do not clearly see any problem so I need to use it on own device, thanks.

photo
1

There is indeed a bug, when using Microsoft Maps, you cannot use '<URL><! [DATA [http://t {s}. dynamic. files. ditu. live. com'

Use {s} to obtain the server "<serverPart>1; 2; 3</serverPart>"

An error will occur.

photo
1

Ah understand, thanks. Will be fixed in the next app version.

photo
Leave a Comment
 
Attach a file