From e87cf120730193cf3515cc149f61348f941210ba Mon Sep 17 00:00:00 2001 From: sasbot <> Date: Sat, 6 Jun 2020 12:00:00 +0000 Subject: [PATCH] update zmp --- Google/GoogleMap.zmp/GetUrlScript.txt | 2 +- Google/GoogleMap.zmp/params.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Google/GoogleMap.zmp/GetUrlScript.txt b/Google/GoogleMap.zmp/GetUrlScript.txt index 6be28f2dc..fb02bfb19 100644 --- a/Google/GoogleMap.zmp/GetUrlScript.txt +++ b/Google/GoogleMap.zmp/GetUrlScript.txt @@ -2,5 +2,5 @@ var mt: string; begin mt := RegExprReplaceMatchSubStr(GetURLBase, 'mt\.google', 'mt'+inttostr( Random(4) )+'.google' ); - ResultURL := mt+'&x='+inttostr(GetX)+'&y='+inttostr(GetY)+'&zoom='+inttostr(18-GetZ)+'&s='+copy('Galileo',1, Random(8)); + ResultURL := mt+'&x='+inttostr(GetX)+'&y='+inttostr(GetY)+'&zoom='+inttostr(18-GetZ)+'&hl='+Lang; end. \ No newline at end of file diff --git a/Google/GoogleMap.zmp/params.txt b/Google/GoogleMap.zmp/params.txt index 0813b07c9..496a1944c 100644 --- a/Google/GoogleMap.zmp/params.txt +++ b/Google/GoogleMap.zmp/params.txt @@ -6,7 +6,7 @@ name_ru=Карта (Google) name=Map (Google) name_uk=Карта (Google) ParentSubMenu=Google -DefURLBase=http://mt.google.com/vt/lyrs=m@169000000&hl=ru +DefURLBase=https://mt.google.com/vt/lyrs=m@169000000 projection=1 sradiusa=6378137 sradiusb=6378137