From 80a8c35cafae5d00af586d890afac328adb4f05b Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- zoomify.zmp/18.bmp | Bin 0 -> 1062 bytes zoomify.zmp/24.bmp | Bin 0 -> 1782 bytes zoomify.zmp/GetUrlScript.txt | 50 +++++++++++++++++++++++++++++++++++ zoomify.zmp/info.txt | 31 ++++++++++++++++++++++ zoomify.zmp/params.txt | 27 +++++++++++++++++++ 5 files changed, 108 insertions(+) create mode 100644 zoomify.zmp/18.bmp create mode 100644 zoomify.zmp/24.bmp create mode 100644 zoomify.zmp/GetUrlScript.txt create mode 100644 zoomify.zmp/info.txt create mode 100644 zoomify.zmp/params.txt diff --git a/zoomify.zmp/18.bmp b/zoomify.zmp/18.bmp new file mode 100644 index 0000000000000000000000000000000000000000..47d65f276ee5e4851f34fe840f80f2090024fad0 GIT binary patch literal 1062 zcmZ9KZA_Y16vywfecXqopY~~KvaH?alDW=SYHg=3GPOl9RSFgDth`K7@Qo=-*J_cr zA|hiJ0Rgd4QIwa7Pz7;{2#U}GkBEw`PBW8kvt8H9W^CLOoSW^?Sj z@)n4m6R>^==b?Y|4e)OC{^^_1@`~(&-Pgjd?Hm`;10tM`l?N-_zh;0(0LTB_9x6I@!2R25VR|jbB+t>*;@1XMl2Sf1dTchNcka*|O$oh(RDiD6YWZ8kFJCk*r zJ?L3Q<$vft=jazaYX4%}O5An{A_48rL%TP)Fbpj&&rfgpjFDOK_C(EAAJQky+e4$A zRd;8Ob39_a_?Mj(amgZH&C8I^WV3MlM{jAIa)supOR+m6j#%l>l?l_*G8m0=_8U3B zOAuS;@+}Mdg^l-ztv%wD^>>R%^_}FaBJ?-RT3VGy%J|#Xu&u+bwjLYTN&wJHcyr9y zXUdGt-m)hH^e0;8rvB;+GfT+1iD9q_^n$bJ3p0?ouT#$~D=VLAh?{~>-69eIz167D zwWGiNaQ0_$!CDt-t-Ivco?@kdjU=+Ozs<{UIz_%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.zmp/GetUrlScript.txt @@ -0,0 +1,50 @@ +const +width=9910; +height=7476; + +var TileGroup:integer; +z:integer; +i:integer; +cur_width,cur_height:integer; +maxZoom:integer; + +function TilesAtZoom(z:integer):integer; +begin + result:=(1+trunc(width/(256*intpower(2,(MaxZoom-z)))))*(1+trunc(height/(256*intpower(2,(MaxZoom-z))))); +end; + + +function getTileCount(zoom:integer):integer; +var i:integer; +begin +Result:=0; +for i:=1 to zoom do Result:=Result+TilesAtZoom(i); +end; + + +begin +i:=1;cur_width:=0; + while cur_widthMaxZoom then MaxZoom:=i; + + + +z:=GetZ-1; + +tilegroup:=(getTileCount(z) +GetX +GetY*(1+trunc(width/(256*intpower(2,(MaxZoom-z-1)))))) div 256; +ResultURL:=GetURLBase+inttostr(tilegroup)+'/'+inttostr(z)+'-'+inttostr(GetX)+'-'+inttostr(GetY)+'.jpg'; +end. + diff --git a/zoomify.zmp/info.txt b/zoomify.zmp/info.txt new file mode 100644 index 000000000..f9bd8fc4d --- /dev/null +++ b/zoomify.zmp/info.txt @@ -0,0 +1,31 @@ +Пример использования ресурсов в формате Zoomify + +... отображается в левом верхнем углу с зума 1 по 7 + +Как использовать: +в строке запроса поменять адрес на нужный +НЕ ЗАБЫТЬ указать папку кэша (NameInCache) + + +смотрим информацию в /zoomify/ImageProperties.xml +например: + + +в GetUrlScript.txt +устанавливаем + +const +width=9910; +height=7476; + + +Рекомендации: +наслаждаемся. + + +Ограничения: вроде нету + +Автор +mra:Garl@mail.ru +jabber:garl@qip.ru + diff --git a/zoomify.zmp/params.txt b/zoomify.zmp/params.txt new file mode 100644 index 000000000..737973fcb --- /dev/null +++ b/zoomify.zmp/params.txt @@ -0,0 +1,27 @@ +[PARAMS] +pnum=130 +GUID={685E9146-DEC0-44EE-859F-111DEF70C6E2} +asLayer=0 +name= (zoomify) +name_en= (zoomify) +name_ua= (zoomify) +NameInCache=zoomify +DefURLBase=http://oldmaps.geolab.cz/3vm/75/4771/zoomify/TileGroup +ContentType=image/jpeg +ParentSubMenu=„агЈЁҐ Є авл +ParentSubMenu_en=Other maps +ParentSubMenu_uk=у­иф Є авЁ +Ext=.jpg +projection=1 +sradiusa=6378137 +sradiusb=6378137 +separator=1 +UseDwn=1 +Usestick=1 +UseGenPrevious=1 +Usedel=1 +Usesave=1 +UseAntiBan=0 +Sleep=0 +DefHotKey=90 +BanIfLen=0 \ No newline at end of file