diff --git a/GoogleTransit.zmp/18.bmp b/GoogleTransit.zmp/18.bmp new file mode 100644 index 00000000..a942fa46 Binary files /dev/null and b/GoogleTransit.zmp/18.bmp differ diff --git a/GoogleTransit.zmp/24.bmp b/GoogleTransit.zmp/24.bmp new file mode 100644 index 00000000..e46b7562 Binary files /dev/null and b/GoogleTransit.zmp/24.bmp differ diff --git a/GoogleTransit.zmp/GetUrlScript.txt b/GoogleTransit.zmp/GetUrlScript.txt new file mode 100644 index 00000000..8ca39364 --- /dev/null +++ b/GoogleTransit.zmp/GetUrlScript.txt @@ -0,0 +1,4 @@ +begin + ResultURL:=GetUrlBase+'&x='+inttostr(GetX)+'&y='+inttostr(GetY)+'&zoom='+inttostr(18-GetZ)+'&s='+copy('Galileo',1,(GetX*3+GetY)mod 8); +end. + diff --git a/GoogleTransit.zmp/params.txt b/GoogleTransit.zmp/params.txt new file mode 100644 index 00000000..266147b8 --- /dev/null +++ b/GoogleTransit.zmp/params.txt @@ -0,0 +1,23 @@ +[PARAMS] +pnum=2 +asLayer=0 +GUID={04634AEA-A897-483D-8D56-4F5D703BDBB7} +name=Транспорт (Google) +name_en=Transit (Google) +DefURLBase=http://mt.google.com/vt/lyrs=m@139,transit:comp|vm:1&hl=ru&opts=r +projection=1 +sradiusa=6378137 +sradiusb=6378137 +NameInCache=GoogleTransit +separator=0 +Ext=.png +UseDwn=1 +Usestick=1 +UseGenPrevious=1 +Usedel=1 +Usesave=1 +UseAntiBan=1 +Sleep=1000 +DefHotKey= +ContentType=image/png +BanIfLen=1722 \ No newline at end of file diff --git a/Rambler_maps.zmp/18.bmp b/Rambler_maps.zmp/18.bmp new file mode 100644 index 00000000..4cabb230 Binary files /dev/null and b/Rambler_maps.zmp/18.bmp differ diff --git a/Rambler_maps.zmp/24.bmp b/Rambler_maps.zmp/24.bmp new file mode 100644 index 00000000..a3202b0f Binary files /dev/null and b/Rambler_maps.zmp/24.bmp differ diff --git a/Rambler_maps.zmp/GetUrlScript.txt b/Rambler_maps.zmp/GetUrlScript.txt new file mode 100644 index 00000000..b16e747a --- /dev/null +++ b/Rambler_maps.zmp/GetUrlScript.txt @@ -0,0 +1,57 @@ +function addzero(i:integer):string; +var rs:string; +begin +rs:=inttostr(i); +while length(rs)<3 do rs:='0'+rs; +result:=rs; +end; + +var +sx,sy,sz:string; +dx,dy:integer; +tx,ty:integer; +sh_x:array[0..24] of integer; +sh_y:array[0..24] of integer; + +begin +sh_x[0]:=0; sh_y[0]:=0; +sh_x[1]:=0; sh_y[1]:=0; +sh_x[2]:=0; sh_y[2]:=0; +sh_x[3]:=0; sh_y[3]:=0; +sh_x[4]:=0; sh_y[4]:=0; +sh_x[5]:=0; sh_y[5]:=0; +sh_x[6]:=0; sh_y[6]:=0; +sh_x[7]:=0; sh_y[7]:=0; +sh_x[8]:=0; sh_y[8]:=0; +sh_x[9]:=0; sh_y[9]:=1; + +sh_x[10]:=0; sh_y[10]:=1; +sh_x[11]:=0; sh_y[11]:=3; +sh_x[12]:=0; sh_y[12]:=6; + +sh_x[13]:=0; sh_y[13]:=11; + +sh_x[14]:=0; sh_y[14]:=22; +sh_x[15]:=0; sh_y[15]:=44; +sh_x[16]:=0; sh_y[16]:=88; +sh_x[17]:=0; sh_y[17]:=175; +sh_x[18]:=0; sh_y[18]:=350; +sh_x[19]:=-90; sh_y[19]:=946; + +sh_x[20]:=0; sh_y[20]:=0; +sh_x[21]:=0; sh_y[21]:=0; +sh_x[22]:=0; sh_y[22]:=0; +sh_x[23]:=0; sh_y[23]:=0; +sh_x[24]:=0; sh_y[24]:=0; + +tx:=getx+sh_x[getz]; + +dx:=(tx div 1000); +sx:=addzero(tx-dx*1000); +ty:=(round(intpower(2,GetZ-1))-Gety)-sh_y[getz]; +dy:=(ty div 1000); +ty:=ty-dy*1000-1; +sy:=addzero(ty); +sz:=inttostr(Getz-1); +ResultURL:=GetUrlBase+sz+'/00/000/'+addzero(dx)+'/'+sx+'/000/'+addzero(dy)+'/'+sy+'.png'+'?e16a5f67e5cc3887282038bf6bc27657'; +end. \ No newline at end of file diff --git a/Rambler_maps.zmp/info.txt b/Rambler_maps.zmp/info.txt new file mode 100644 index 00000000..0eaaf5c0 --- /dev/null +++ b/Rambler_maps.zmp/info.txt @@ -0,0 +1,2 @@ +На зумах 16 и меньше привязка сильно съезжает по оси y (а на z17 и z18 всё нормально). +Проблема связана с ошибкой округления и, по-моему, не решается. \ No newline at end of file diff --git a/Rambler_maps.zmp/params.txt b/Rambler_maps.zmp/params.txt new file mode 100644 index 00000000..21b7a1b6 --- /dev/null +++ b/Rambler_maps.zmp/params.txt @@ -0,0 +1,25 @@ +[PARAMS] +pnum= +GUID={DB6FCDE8-43A6-4DB5-89E0-1F5625CC2BE0} +name=Карта (rambler.ru) +name_en=Map (rambler.ru) +ParentSubMenu=Другие карты +ParentSubMenu_en=Others Maps +asLayer=0 +DefURLBase=http://tiles.maps.rambler.ru/lv +projection=2 +sradiusa=6378137 +sradiusb=6356752 +NameInCache=rambler +separator=0 +Ext=.png +UseDwn=1 +Usestick=1 +UseGenPrevious=1 +Usedel=1 +Usesave=1 +UseAntiBan=0 +Sleep=0 +DefHotKey=0 +ContentType=image/png +BanIfLen=0 \ No newline at end of file diff --git a/mpoisk.ru.zmp/18.bmp b/mpoisk.ru.zmp/18.bmp new file mode 100644 index 00000000..a942fa46 Binary files /dev/null and b/mpoisk.ru.zmp/18.bmp differ diff --git a/mpoisk.ru.zmp/24.bmp b/mpoisk.ru.zmp/24.bmp new file mode 100644 index 00000000..e46b7562 Binary files /dev/null and b/mpoisk.ru.zmp/24.bmp differ diff --git a/mpoisk.ru.zmp/GetUrlScript.txt b/mpoisk.ru.zmp/GetUrlScript.txt new file mode 100644 index 00000000..a242ccc5 --- /dev/null +++ b/mpoisk.ru.zmp/GetUrlScript.txt @@ -0,0 +1,3 @@ +begin + ResultURL:=GetURLBase+RoundEx(getllon+(GetRlon-GetLLon)/2,13)+'/lat/'+RoundEx(GetbLat+(GetTLat-GetBlat)/2,13)+'/scale/'+inttostr(getz-1)+'/width/256/height/256/region/81'; +end. diff --git a/mpoisk.ru.zmp/params.txt b/mpoisk.ru.zmp/params.txt new file mode 100644 index 00000000..086642d8 --- /dev/null +++ b/mpoisk.ru.zmp/params.txt @@ -0,0 +1,25 @@ +[PARAMS] +pnum= +GUID={E580797F-3C56-4796-98A8-52D579A1F6A5} +asLayer=0 +name=МТС Поиск (wap.mpoisk.ru) +name_en=МТС Поиск (wap.mpoisk.ru) +ParentSubMenu=Другие карты +ParentSubMenu_en=Others Maps +NameInCache=mpoisk_ru +DefURLBase=http://wap.mpoisk.ru/city/map.ashx/lon/ +ContentType=image/gif +Ext=.gif +projection=1 +sradiusa=3396190 +sradiusb=3396190 +separator=0 +UseDwn=1 +Usestick=1 +UseGenPrevious=1 +Usedel=1 +Usesave=1 +UseAntiBan=0 +Sleep=0 +DefHotKey=0 +BanIfLen=0 \ No newline at end of file