From 12ac90ee16945bcc03b7bbf0ca4922662a150a43 Mon Sep 17 00:00:00 2001 From: sasbot <> Date: Sat, 6 Jun 2020 12:00:00 +0000 Subject: [PATCH] update zmp --- _Nokia/here.com.sat.zmp/GetUrlScript.txt | 9 +++++++-- _Nokia/here.com.sat.zmp/params.txt | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/_Nokia/here.com.sat.zmp/GetUrlScript.txt b/_Nokia/here.com.sat.zmp/GetUrlScript.txt index f2e2590f..52a3123b 100644 --- a/_Nokia/here.com.sat.zmp/GetUrlScript.txt +++ b/_Nokia/here.com.sat.zmp/GetUrlScript.txt @@ -1,3 +1,8 @@ +var +serverPart: string; + begin -ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'/256/png8?app_id=xWVIueSv6JL0aJ5xqTxb&app_code=djPZyynKsbTjIUDOBcHZ2g&lg=rus&ppi=72&pview=RUS'; -end. \ No newline at end of file +serverPart := RegExprReplaceMatchSubStr(GetURLBase, '//4', '//'+inttostr( Random(3) + 1 ) ); +ResultURL:=serverPart+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'/256/png8?app_id=bC4fb9WQfCCZfkxspD4z&app_code=K2Cpd_EKDzrZb1tz0zdpeQ&lg=rus&ppi=72&pview=RUS'; +end. + diff --git a/_Nokia/here.com.sat.zmp/params.txt b/_Nokia/here.com.sat.zmp/params.txt index e336a46f..63f8faac 100644 --- a/_Nokia/here.com.sat.zmp/params.txt +++ b/_Nokia/here.com.sat.zmp/params.txt @@ -9,7 +9,7 @@ ParentSubMenu_en=Nokia ParentSubMenu_uk=Nokia ContentType=image/png asLayer=0 -DefURLBase=https://4.aerial.maps.api.here.com/maptile/2.1/maptile/60819c50ed/satellite.day/ +DefURLBase=https://4.aerial.maps.api.here.com/maptile/2.1/maptile/c5c423b112/satellite.day/ NameInCache=here.com.satellite EPSG=3785 separator=0