This object is in archive! 

Bing Maps cannot use the {s} parameter

wuahi105 shared this problem 2 years ago
Solved

<url><![CDATA[</url>" rel="nofollow noopener" target="_blank">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.

This comment is in trash! Restore
photo


当我使用自定义Bing地图时候,发现不能使用{s}这个参数,如果使用那么就会出现错误
<url><![CDATA[</url>" rel="nofollow noopener" target="_blank">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[</url>" rel="nofollow noopener" target="_blank">http://t1.dynamic.tiles.ditu.live.com/comp/ch/{c}?mkt=zh-cn&it=A&shading=hill&og=8&n=z]]></url>;
<url><![CDATA[</url>" rel="nofollow noopener" target="_blank">http://t2.dynamic.tiles.ditu.live.com/comp/ch/{c}?mkt=zh-cn&it=A&shading=hill&og=8&n=z]]></url>;
<url><![CDATA[</url>" rel="nofollow noopener" target="_blank">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

This comment is in trash! Restore
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.

This comment is in trash! Restore
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.

This comment is in trash! Restore
photo
1

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

This comment is in trash! Restore

Replies have been locked on this page!

You can't vote. Please authorize!
You can't vote. Please authorize!