Hi
I want to create a ZMP for a Costa Rica maps found at
https://tiles1.arcgis.com/tiles/4u1m1BB ... er?f=jsapi
It needs a cache key added to each request. For example a tile request looks like:
https://tiles4.arcgis.com/tiles/4u1m1BB ... 4e1a1dcb62
How do I manage this in SAS? Will I have to do it manually and add a new key when the current one expires?
Thanks for your assistance!
FlashKiwi.
ZMP for Costa Rica map
Модератор: Tolik
- garl
- Гуру
- Сообщения: 1625
- Зарегистрирован: 16 июл 2008, 14:40
- Откуда: Краснодар, Кубанская столица.
- Благодарил (а): 97 раз
- Поблагодарили: 272 раза
Re: ZMP for Costa Rica map
try this
copy file into the map folder and restart sas palnet
zoom 15 ++
copy file into the map folder and restart sas palnet
zoom 15 ++
- Вложения
-
- costarica.zmp
- (1.08 КБ) 263 скачивания
Re: ZMP for Costa Rica map
Thanks very much!
I didn't think to add to the geturlscript.
Is there a way to download from multiple services (example tileserver1., tileserver2, tile server3 etc)?
Thanks
FlashKiwi
I didn't think to add to the geturlscript.
Is there a way to download from multiple services (example tileserver1., tileserver2, tile server3 etc)?
Thanks
FlashKiwi
- garl
- Гуру
- Сообщения: 1625
- Зарегистрирован: 16 июл 2008, 14:40
- Откуда: Краснодар, Кубанская столица.
- Благодарил (а): 97 раз
- Поблагодарили: 272 раза
Re: ZMP for Costa Rica map
to use random Tileservers use this code:
Код: Выделить всё
var
ts: string;
begin
ts:= RegExprReplaceMatchSubStr(GetURLBase, 'tiles3\.arcgis', 'tiles'+inttostr( Random(4) )+'.arcgis' );
ResultURL:= ts+inttostr(getz-1)+'/'+inttostr(gety)+'/'+inttostr(getx)+'?cacheKey=b6c5da4e1a1dcb62';
end.