From 1f4a3438bb38c79e9a65c562ee438fc0051fa04c Mon Sep 17 00:00:00 2001 From: sasgis <> Date: Sat, 12 Dec 1970 12:00:00 +0000 Subject: [PATCH] update zmp --- .../18.bmp | Bin .../24.bmp | Bin .../EmptyTiles/empty.png | Bin 0 -> 334 bytes .../GetUrlScript.txt | 13 +++++++ .../navionics.SonarChart.layer.zmp/params.txt | 14 ++++++++ .../18.bmp | Bin .../24.bmp | Bin .../navionics.SonarChart.zmp/GetUrlScript.txt | 13 +++++++ _water/navionics.SonarChart.zmp/params.txt | 13 +++++++ .../EmptyTiles/empty.png | Bin 872 -> 0 bytes .../GetUrlScript.txt | 33 ----------------- .../params.txt | 13 ------- .../EmptyTiles/empty.png | Bin 872 -> 0 bytes .../GetUrlScript.txt | 33 ----------------- _water/navionics.SonarCharts.zmp/params.txt | 12 ------- .../EmptyTiles/empty.png | Bin 872 -> 0 bytes .../navionics.com.layer.zmp/GetUrlScript.txt | 34 ------------------ _water/navionics.com.layer.zmp/params.txt | 13 ------- _water/navionics.com.zmp/EmptyTiles/empty.png | Bin 872 -> 0 bytes _water/navionics.com.zmp/GetUrlScript.txt | 33 ----------------- _water/navionics.com.zmp/params.txt | 12 ------- .../18.bmp | Bin .../24.bmp | Bin .../navionics.layer.zmp/EmptyTiles/empty.png | Bin 0 -> 334 bytes _water/navionics.layer.zmp/GetUrlScript.txt | 13 +++++++ _water/navionics.layer.zmp/params.txt | 14 ++++++++ .../18.bmp | Bin .../24.bmp | Bin _water/navionics.zmp/GetUrlScript.txt | 13 +++++++ _water/navionics.zmp/params.txt | 13 +++++++ 30 files changed, 106 insertions(+), 183 deletions(-) rename _water/{navionics.SonarCharts.layer.zmp => navionics.SonarChart.layer.zmp}/18.bmp (100%) rename _water/{navionics.SonarCharts.layer.zmp => navionics.SonarChart.layer.zmp}/24.bmp (100%) create mode 100644 _water/navionics.SonarChart.layer.zmp/EmptyTiles/empty.png create mode 100644 _water/navionics.SonarChart.layer.zmp/GetUrlScript.txt create mode 100644 _water/navionics.SonarChart.layer.zmp/params.txt rename _water/{navionics.SonarCharts.zmp => navionics.SonarChart.zmp}/18.bmp (100%) rename _water/{navionics.SonarCharts.zmp => navionics.SonarChart.zmp}/24.bmp (100%) create mode 100644 _water/navionics.SonarChart.zmp/GetUrlScript.txt create mode 100644 _water/navionics.SonarChart.zmp/params.txt delete mode 100644 _water/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png delete mode 100644 _water/navionics.SonarCharts.layer.zmp/GetUrlScript.txt delete mode 100644 _water/navionics.SonarCharts.layer.zmp/params.txt delete mode 100644 _water/navionics.SonarCharts.zmp/EmptyTiles/empty.png delete mode 100644 _water/navionics.SonarCharts.zmp/GetUrlScript.txt delete mode 100644 _water/navionics.SonarCharts.zmp/params.txt delete mode 100644 _water/navionics.com.layer.zmp/EmptyTiles/empty.png delete mode 100644 _water/navionics.com.layer.zmp/GetUrlScript.txt delete mode 100644 _water/navionics.com.layer.zmp/params.txt delete mode 100644 _water/navionics.com.zmp/EmptyTiles/empty.png delete mode 100644 _water/navionics.com.zmp/GetUrlScript.txt delete mode 100644 _water/navionics.com.zmp/params.txt rename _water/{navionics.com.layer.zmp => navionics.layer.zmp}/18.bmp (100%) rename _water/{navionics.com.layer.zmp => navionics.layer.zmp}/24.bmp (100%) create mode 100644 _water/navionics.layer.zmp/EmptyTiles/empty.png create mode 100644 _water/navionics.layer.zmp/GetUrlScript.txt create mode 100644 _water/navionics.layer.zmp/params.txt rename _water/{navionics.com.zmp => navionics.zmp}/18.bmp (100%) rename _water/{navionics.com.zmp => navionics.zmp}/24.bmp (100%) create mode 100644 _water/navionics.zmp/GetUrlScript.txt create mode 100644 _water/navionics.zmp/params.txt diff --git a/_water/navionics.SonarCharts.layer.zmp/18.bmp b/_water/navionics.SonarChart.layer.zmp/18.bmp similarity index 100% rename from _water/navionics.SonarCharts.layer.zmp/18.bmp rename to _water/navionics.SonarChart.layer.zmp/18.bmp diff --git a/_water/navionics.SonarCharts.layer.zmp/24.bmp b/_water/navionics.SonarChart.layer.zmp/24.bmp similarity index 100% rename from _water/navionics.SonarCharts.layer.zmp/24.bmp rename to _water/navionics.SonarChart.layer.zmp/24.bmp diff --git a/_water/navionics.SonarChart.layer.zmp/EmptyTiles/empty.png b/_water/navionics.SonarChart.layer.zmp/EmptyTiles/empty.png new file mode 100644 index 0000000000000000000000000000000000000000..4fe9ab37631ae5bb0fad9069c0d8ec0abca560fe GIT binary patch literal 334 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$2RR)5S5QV$R!xh9J2^3%>fl g&E{ADWR74^!OUpGz-aR}m=hETp00i_>zopr00S-(%m4rY literal 0 HcmV?d00001 diff --git a/_water/navionics.SonarChart.layer.zmp/GetUrlScript.txt b/_water/navionics.SonarChart.layer.zmp/GetUrlScript.txt new file mode 100644 index 000000000..1eaf49fdc --- /dev/null +++ b/_water/navionics.SonarChart.layer.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_1&TRANSPARENT=TRUE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.SonarChart.layer.zmp/params.txt b/_water/navionics.SonarChart.layer.zmp/params.txt new file mode 100644 index 000000000..0f9455949 --- /dev/null +++ b/_water/navionics.SonarChart.layer.zmp/params.txt @@ -0,0 +1,14 @@ +[PARAMS] +GUID={2333E9D3-EB95-466D-AC14-2CFFCDB509C2} +name=Navionics SonarChart(TM) +ParentSubMenu_ru=Морские карты (SonarChart) +ParentSubMenu=Marine maps +asLayer=1 +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics_sonarchart_layer +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html diff --git a/_water/navionics.SonarCharts.zmp/18.bmp b/_water/navionics.SonarChart.zmp/18.bmp similarity index 100% rename from _water/navionics.SonarCharts.zmp/18.bmp rename to _water/navionics.SonarChart.zmp/18.bmp diff --git a/_water/navionics.SonarCharts.zmp/24.bmp b/_water/navionics.SonarChart.zmp/24.bmp similarity index 100% rename from _water/navionics.SonarCharts.zmp/24.bmp rename to _water/navionics.SonarChart.zmp/24.bmp diff --git a/_water/navionics.SonarChart.zmp/GetUrlScript.txt b/_water/navionics.SonarChart.zmp/GetUrlScript.txt new file mode 100644 index 000000000..c23be74b1 --- /dev/null +++ b/_water/navionics.SonarChart.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_1&TRANSPARENT=FALSE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.SonarChart.zmp/params.txt b/_water/navionics.SonarChart.zmp/params.txt new file mode 100644 index 000000000..f2a6b0099 --- /dev/null +++ b/_water/navionics.SonarChart.zmp/params.txt @@ -0,0 +1,13 @@ +[PARAMS] +GUID={247A02DC-5204-46FC-8D23-828AFC83A434} +name=Navionics SonarChart(TM) +ParentSubMenu_ru=Морские карты (SonarChart) +ParentSubMenu=Marine maps +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics_sonarchart +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html diff --git a/_water/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png b/_water/navionics.SonarCharts.layer.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e6467211def3f5cd86c15586cbfc36b94546..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 872 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz`%C|gc+x5^GP!> zFiUy5IEGZrd3!|>sDa~v0n1-wVdjsz2d|bltoh5w@K1uFMRF94hQP=R0om$HER0Kb S9=!$3It-q!elF{r5}E)o(74|K diff --git a/_water/navionics.SonarCharts.layer.zmp/GetUrlScript.txt b/_water/navionics.SonarCharts.layer.zmp/GetUrlScript.txt deleted file mode 100644 index f034a3996..000000000 --- a/_water/navionics.SonarCharts.layer.zmp/GetUrlScript.txt +++ /dev/null @@ -1,33 +0,0 @@ -var - I: Integer; - VEncoded: string; - VBox: string; -begin - VBox := RoundEx(GetLMetr ,10) + ',' + RoundEx(GetBMetr, 10) + ',' + RoundEx(GetRMetr, 10) + ',' + RoundEx(GetTMetr, 10); - // prepare params - VEncoded := - 'LAYERS=config_1_1_1_0' + '&' + - 'TRANSPARENT=TRUE' + '&' + - 'SERVICE=WMS' + '&' + - 'VERSION=1.1.1' + '&' + - 'REQUEST=GetMap' + '&' + - 'FORMAT=image%2Fpng' + '&' + - 'SRS=EPSG%3A6859' + '&' + - 'BBOX=' + VBox + '&' + - 'WIDTH=256' + '&' + - 'HEIGHT=256'; - - // crypt - for I := 1 to Length(VEncoded) do - VEncoded[I] := Chr(Ord(VEncoded[I]) xor 42); - - // Base64 encode - VEncoded := Base64Encode(VEncoded); - - //replase "+" with "%2b" charset - VEncoded := RegExprReplaceMatchSubStr(VEncoded, '\+', '\%2b'); - - ResultURL:=GetURLBase + VEncoded + '&NAVKEY=NAVIONICS11WEBAPI111&TEST=' + VBox + '&ZOOM=' + IntToStr(GetZ) + '&v=1&SRC=http://www.navionics.com'; - - RequestHead := 'Referer: http://www.navionics.com/sites/navionics.plurimedia.it/files/coverage/webapp.html?2985400'; -end. \ No newline at end of file diff --git a/_water/navionics.SonarCharts.layer.zmp/params.txt b/_water/navionics.SonarCharts.layer.zmp/params.txt deleted file mode 100644 index d40d69bdf..000000000 --- a/_water/navionics.SonarCharts.layer.zmp/params.txt +++ /dev/null @@ -1,13 +0,0 @@ -[PARAMS] -GUID={BF5C7247-0543-4DBB-B4B1-5E969C9EB942} -name=Navionics SonarCharts -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -asLayer=1 -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics.SonarCharts.layer -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.SonarCharts.zmp/EmptyTiles/empty.png b/_water/navionics.SonarCharts.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e6467211def3f5cd86c15586cbfc36b94546..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 872 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz`%C|gc+x5^GP!> zFiUy5IEGZrd3!|>sDa~v0n1-wVdjsz2d|bltoh5w@K1uFMRF94hQP=R0om$HER0Kb S9=!$3It-q!elF{r5}E)o(74|K diff --git a/_water/navionics.SonarCharts.zmp/GetUrlScript.txt b/_water/navionics.SonarCharts.zmp/GetUrlScript.txt deleted file mode 100644 index 97ddb8f0d..000000000 --- a/_water/navionics.SonarCharts.zmp/GetUrlScript.txt +++ /dev/null @@ -1,33 +0,0 @@ -var - I: Integer; - VEncoded: string; - VBox: string; -begin - VBox := RoundEx(GetLMetr ,10) + ',' + RoundEx(GetBMetr, 10) + ',' + RoundEx(GetRMetr, 10) + ',' + RoundEx(GetTMetr, 10); - // prepare params - VEncoded := - 'LAYERS=config_1_1_1_0' + '&' + - 'TRANSPARENT=FALSE' + '&' + - 'SERVICE=WMS' + '&' + - 'VERSION=1.1.1' + '&' + - 'REQUEST=GetMap' + '&' + - 'FORMAT=image%2Fpng' + '&' + - 'SRS=EPSG%3A6859' + '&' + - 'BBOX=' + VBox + '&' + - 'WIDTH=256' + '&' + - 'HEIGHT=256'; - - // crypt - for I := 1 to Length(VEncoded) do - VEncoded[I] := Chr(Ord(VEncoded[I]) xor 42); - - // Base64 encode - VEncoded := Base64Encode(VEncoded); - - //replase "+" with "%2b" charset - VEncoded := RegExprReplaceMatchSubStr(VEncoded, '\+', '\%2b'); - - ResultURL:=GetURLBase + VEncoded + '&NAVKEY=NAVIONICS11WEBAPI111&TEST=' + VBox + '&ZOOM=' + IntToStr(GetZ) + '&v=1&SRC=http://www.navionics.com'; - - RequestHead := 'Referer: http://www.navionics.com/sites/navionics.plurimedia.it/files/coverage/webapp.html?2985400'; -end. \ No newline at end of file diff --git a/_water/navionics.SonarCharts.zmp/params.txt b/_water/navionics.SonarCharts.zmp/params.txt deleted file mode 100644 index 639098e88..000000000 --- a/_water/navionics.SonarCharts.zmp/params.txt +++ /dev/null @@ -1,12 +0,0 @@ -[PARAMS] -GUID={AF5C7247-0543-4DBB-B4B1-5E969C9EB942} -name=Navionics SonarCharts -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics.SonarCharts -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.com.layer.zmp/EmptyTiles/empty.png b/_water/navionics.com.layer.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e6467211def3f5cd86c15586cbfc36b94546..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 872 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz`%C|gc+x5^GP!> zFiUy5IEGZrd3!|>sDa~v0n1-wVdjsz2d|bltoh5w@K1uFMRF94hQP=R0om$HER0Kb S9=!$3It-q!elF{r5}E)o(74|K diff --git a/_water/navionics.com.layer.zmp/GetUrlScript.txt b/_water/navionics.com.layer.zmp/GetUrlScript.txt deleted file mode 100644 index ff167533c..000000000 --- a/_water/navionics.com.layer.zmp/GetUrlScript.txt +++ /dev/null @@ -1,34 +0,0 @@ -var - I: Integer; - VEncoded: string; - VBox: string; -begin - VBox := RoundEx(GetLMetr ,10) + ',' + RoundEx(GetBMetr, 10) + ',' + RoundEx(GetRMetr, 10) + ',' + RoundEx(GetTMetr, 10); - // prepare params - VEncoded := - 'LAYERS=osm_ram' + '&' + - 'TRANSPARENT=TRUE' + '&' + - 'SERVICE=WMS' + '&' + - 'VERSION=1.1.1' + '&' + - 'REQUEST=GetMap' + '&' + - 'STYLES=' + '&' + - 'FORMAT=image%2Fpng' + '&' + - 'SRS=EPSG%3A3395' + '&' + - 'WIDTH=256' + '&' + - 'HEIGHT=256' + '&' + - 'BBOX=' + VBox; - - // crypt - for I := 1 to Length(VEncoded) do - VEncoded[I] := Chr(Ord(VEncoded[I]) xor 42); - - // Base64 encode - VEncoded := Base64Encode(VEncoded); - - //replase "+" with "%2b" charset - VEncoded := RegExprReplaceMatchSubStr(VEncoded, '\+', '\%2b'); - - ResultURL:=GetURLBase + VEncoded + '&NAVKEY=NAVIONICS11WEBAPI111&TEST=' + VBox + '&ZOOM=' + IntToStr(GetZ) + '&v=1&SRC=http://www.navionics.com'; - - RequestHead := 'Referer: http://www.navionics.com/sites/navionics.plurimedia.it/files/coverage/webapp.html?2985400'; -end. \ No newline at end of file diff --git a/_water/navionics.com.layer.zmp/params.txt b/_water/navionics.com.layer.zmp/params.txt deleted file mode 100644 index ba9203cce..000000000 --- a/_water/navionics.com.layer.zmp/params.txt +++ /dev/null @@ -1,13 +0,0 @@ -[PARAMS] -GUID={1F5C7247-9999-4DBB-B4B1-5E969C9EB942} -name=Navionics (http://www.navionics.com/en/) -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -asLayer=1 -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics_com_layer -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.com.zmp/EmptyTiles/empty.png b/_water/navionics.com.zmp/EmptyTiles/empty.png deleted file mode 100644 index 5071e6467211def3f5cd86c15586cbfc36b94546..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 872 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$6%U;1OBOz`%C|gc+x5^GP!> zFiUy5IEGZrd3!|>sDa~v0n1-wVdjsz2d|bltoh5w@K1uFMRF94hQP=R0om$HER0Kb S9=!$3It-q!elF{r5}E)o(74|K diff --git a/_water/navionics.com.zmp/GetUrlScript.txt b/_water/navionics.com.zmp/GetUrlScript.txt deleted file mode 100644 index 37e431126..000000000 --- a/_water/navionics.com.zmp/GetUrlScript.txt +++ /dev/null @@ -1,33 +0,0 @@ -var - I: Integer; - VEncoded: string; - VBox: string; -begin - VBox := RoundEx(GetLMetr ,10) + ',' + RoundEx(GetBMetr, 10) + ',' + RoundEx(GetRMetr, 10) + ',' + RoundEx(GetTMetr, 10); - // prepare params - VEncoded := - 'LAYERS=osm_ram' + '&' + - 'SERVICE=WMS' + '&' + - 'VERSION=1.1.1' + '&' + - 'REQUEST=GetMap' + '&' + - 'STYLES=' + '&' + - 'FORMAT=image%2Fpng' + '&' + - 'SRS=EPSG%3A3395' + '&' + - 'WIDTH=256' + '&' + - 'HEIGHT=256' + '&' + - 'BBOX=' + VBox; - - // crypt - for I := 1 to Length(VEncoded) do - VEncoded[I] := Chr(Ord(VEncoded[I]) xor 42); - - // Base64 encode - VEncoded := Base64Encode(VEncoded); - - //replase "+" with "%2b" charset - VEncoded := RegExprReplaceMatchSubStr(VEncoded, '\+', '\%2b'); - - ResultURL:=GetURLBase + VEncoded + '&NAVKEY=NAVIONICS11WEBAPI111&TEST=' + VBox + '&ZOOM=' + IntToStr(GetZ) + '&v=1&SRC=http://www.navionics.com'; - - RequestHead := 'Referer: http://www.navionics.com/sites/navionics.plurimedia.it/files/coverage/webapp.html?2985400'; -end. \ No newline at end of file diff --git a/_water/navionics.com.zmp/params.txt b/_water/navionics.com.zmp/params.txt deleted file mode 100644 index 199f3ed78..000000000 --- a/_water/navionics.com.zmp/params.txt +++ /dev/null @@ -1,12 +0,0 @@ -[PARAMS] -GUID={1F5C7247-0543-4DBB-B4B1-5E969C9EB942} -name=Navionics (http://www.navionics.com/en/) -ParentSubMenu_ru=Морские карты -ParentSubMenu=Marine maps -DefURLBase=http://webviewer-api.navionics.com/getmap?PARAMS= -NameInCache=navionics_com -Ext=.png -ContentType=image/png -projection=2 -sradiusa=6378388 -sradiusb=6356912 diff --git a/_water/navionics.com.layer.zmp/18.bmp b/_water/navionics.layer.zmp/18.bmp similarity index 100% rename from _water/navionics.com.layer.zmp/18.bmp rename to _water/navionics.layer.zmp/18.bmp diff --git a/_water/navionics.com.layer.zmp/24.bmp b/_water/navionics.layer.zmp/24.bmp similarity index 100% rename from _water/navionics.com.layer.zmp/24.bmp rename to _water/navionics.layer.zmp/24.bmp diff --git a/_water/navionics.layer.zmp/EmptyTiles/empty.png b/_water/navionics.layer.zmp/EmptyTiles/empty.png new file mode 100644 index 0000000000000000000000000000000000000000..4fe9ab37631ae5bb0fad9069c0d8ec0abca560fe GIT binary patch literal 334 zcmeAS@N?(olHy`uVBq!ia0y~yU<5K5893O0R7}x|G$2RR)5S5QV$R!xh9J2^3%>fl g&E{ADWR74^!OUpGz-aR}m=hETp00i_>zopr00S-(%m4rY literal 0 HcmV?d00001 diff --git a/_water/navionics.layer.zmp/GetUrlScript.txt b/_water/navionics.layer.zmp/GetUrlScript.txt new file mode 100644 index 000000000..04b03d640 --- /dev/null +++ b/_water/navionics.layer.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_0&TRANSPARENT=TRUE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.layer.zmp/params.txt b/_water/navionics.layer.zmp/params.txt new file mode 100644 index 000000000..0158dedcd --- /dev/null +++ b/_water/navionics.layer.zmp/params.txt @@ -0,0 +1,14 @@ +[PARAMS] +GUID={1F1D2343-8575-4BEE-8C33-DBFEF8D53BE5} +name=Navionics Marine Charts +ParentSubMenu_ru=Морские карты +ParentSubMenu=Marine maps +asLayer=1 +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics_layer +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html diff --git a/_water/navionics.com.zmp/18.bmp b/_water/navionics.zmp/18.bmp similarity index 100% rename from _water/navionics.com.zmp/18.bmp rename to _water/navionics.zmp/18.bmp diff --git a/_water/navionics.com.zmp/24.bmp b/_water/navionics.zmp/24.bmp similarity index 100% rename from _water/navionics.com.zmp/24.bmp rename to _water/navionics.zmp/24.bmp diff --git a/_water/navionics.zmp/GetUrlScript.txt b/_water/navionics.zmp/GetUrlScript.txt new file mode 100644 index 000000000..67f4ba954 --- /dev/null +++ b/_water/navionics.zmp/GetUrlScript.txt @@ -0,0 +1,13 @@ +// LAYERS parameter: config_a_b_c +// a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms +// b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a) +// c = 0 for pristine Navionics charts, 1 for Sonar Charts +// TRANSPARENT parameter: FALSE for non-layer, TRUE for layer +// UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons +// navtoken: base64 encoded string of either: +// - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html) +// - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en) + +begin + ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_0&TRANSPARENT=FALSE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t'; +end. diff --git a/_water/navionics.zmp/params.txt b/_water/navionics.zmp/params.txt new file mode 100644 index 000000000..21678a21b --- /dev/null +++ b/_water/navionics.zmp/params.txt @@ -0,0 +1,13 @@ +[PARAMS] +GUID={A830C100-49C8-4623-957A-60B85C39FBE0} +name=Navionics Marine Charts +ParentSubMenu_ru=Морские карты +ParentSubMenu=Marine maps +DefURLBase=http://backend.navionics.io/tile/ +NameInCache=navionics +Ext=.png +ContentType=image/png +projection=1 +sradiusa=6378137 +sradiusb=6378137 +RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html