Browse Source

update zmp

master
sasbot 4 years ago
parent
commit
949a765cd3
8 changed files with 16 additions and 15 deletions
  1. +2
    -2
      _water/navionics.SonarChart.layer.zmp/GetUrlScript.txt
  2. +2
    -2
      _water/navionics.SonarChart.layer.zmp/params.txt
  3. +2
    -2
      _water/navionics.SonarChart.zmp/GetUrlScript.txt
  4. +2
    -2
      _water/navionics.SonarChart.zmp/params.txt
  5. +2
    -2
      _water/navionics.layer.zmp/GetUrlScript.txt
  6. +2
    -2
      _water/navionics.layer.zmp/params.txt
  7. +3
    -2
      _water/navionics.zmp/GetUrlScript.txt
  8. +1
    -1
      _water/navionics.zmp/params.txt

+ 2
- 2
_water/navionics.SonarChart.layer.zmp/GetUrlScript.txt View File

@@ -50,8 +50,8 @@ begin
if (Result = '') and Assigned(Downloader) then begin
VTimeStamp := IntToStr(GetUnixTime);
VRequestUrl := 'https://backend.navionics.io/tile/get_key/Navionics_internalpurpose_00001/webapiv2.navionics.com?_=' + VTimeStamp;
VRequestHeader := 'Origin: https://webapiv2.navionics.com' + #13#10 + 'Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html';
VRequestUrl := 'https://backend.navionics.com/tile/get_key/NAVIONICS_WEBAPP_P01/webapp.navionics.com?_=' + VTimeStamp + '123';
VRequestHeader := 'Origin: https://webapp.navionics.com' + #13#10 + 'Referer: https://webapp.navionics.com/';
VResponseHeader := '';
VResponseData := '';
VResponseCode := Downloader.DoHttpRequest(VRequestUrl, VRequestHeader, '', VResponseHeader, VResponseData);


+ 2
- 2
_water/navionics.SonarChart.layer.zmp/params.txt View File

@@ -4,7 +4,7 @@ name=Navionics SonarChart(TM)
ParentSubMenu_ru=Ìîðñêèå êàðòû
ParentSubMenu=Marine maps
asLayer=1
DefURLBase=http://backend.navionics.io/tile/
DefURLBase=https://backend.navionics.com/tile/
NameInCache=navionics_sonarchart_layer
Ext=.png
ContentType=image/png
@@ -12,4 +12,4 @@ projection=1
sradiusa=6378137
sradiusb=6378137
IsUseDownloaderInScript=1
RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html
RequestHead=Referer: http://webapp.navionics.com/

+ 2
- 2
_water/navionics.SonarChart.zmp/GetUrlScript.txt View File

@@ -50,8 +50,8 @@ begin
if (Result = '') and Assigned(Downloader) then begin
VTimeStamp := IntToStr(GetUnixTime);
VRequestUrl := 'http://backend.navionics.io/tile/get_key/Navionics_internalpurpose_00001/webapp.navionics.com?_=' + VTimeStamp;
VRequestHeader := 'Origin: http://webapp.navionics.com' + #13#10 + 'Referer: http://webapp.navionics.com/';
VRequestUrl := 'https://backend.navionics.com/tile/get_key/NAVIONICS_WEBAPP_P01/webapp.navionics.com?_=' + VTimeStamp + '123';
VRequestHeader := 'Origin: https://webapp.navionics.com' + #13#10 + 'Referer: https://webapp.navionics.com/';
VResponseHeader := '';
VResponseData := '';
VResponseCode := Downloader.DoHttpRequest(VRequestUrl, VRequestHeader, '', VResponseHeader, VResponseData);


+ 2
- 2
_water/navionics.SonarChart.zmp/params.txt View File

@@ -3,7 +3,7 @@ GUID={247A02DC-5204-46FC-8D23-828AFC83A434}
name=Navionics SonarChart(TM)
ParentSubMenu_ru=Ìîðñêèå êàðòû
ParentSubMenu=Marine maps
DefURLBase=http://backend.navionics.io/tile/
DefURLBase=https://backend.navionics.com/tile/
NameInCache=navionics_sonarchart
Ext=.png
ContentType=image/png
@@ -11,4 +11,4 @@ projection=1
sradiusa=6378137
sradiusb=6378137
IsUseDownloaderInScript=1
RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html
RequestHead=Referer: http://webapp.navionics.com/

+ 2
- 2
_water/navionics.layer.zmp/GetUrlScript.txt View File

@@ -50,8 +50,8 @@ begin
if (Result = '') and Assigned(Downloader) then begin
VTimeStamp := IntToStr(GetUnixTime);
VRequestUrl := 'https://backend.navionics.io/tile/get_key/Navionics_internalpurpose_00001/webapiv2.navionics.com?_=' + VTimeStamp;
VRequestHeader := 'Origin: https://webapiv2.navionics.com' + #13#10 + 'Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html';
VRequestUrl := 'https://backend.navionics.com/tile/get_key/NAVIONICS_WEBAPP_P01/webapp.navionics.com?_=' + VTimeStamp + '123';
VRequestHeader := 'Origin: https://webapp.navionics.com' + #13#10 + 'Referer: https://webapp.navionics.com/';
VResponseHeader := '';
VResponseData := '';
VResponseCode := Downloader.DoHttpRequest(VRequestUrl, VRequestHeader, '', VResponseHeader, VResponseData);


+ 2
- 2
_water/navionics.layer.zmp/params.txt View File

@@ -4,7 +4,7 @@ name=Navionics Marine Charts
ParentSubMenu_ru=Ìîðñêèå êàðòû
ParentSubMenu=Marine maps
asLayer=1
DefURLBase=http://backend.navionics.io/tile/
DefURLBase=https://backend.navionics.com/tile/
NameInCache=navionics_layer
Ext=.png
ContentType=image/png
@@ -12,4 +12,4 @@ projection=1
sradiusa=6378137
sradiusb=6378137
IsUseDownloaderInScript=1
RequestHead=Referer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html
RequestHead=Referer: http://webapp.navionics.com/

+ 3
- 2
_water/navionics.zmp/GetUrlScript.txt View File

@@ -20,6 +20,7 @@ const
const
cTTL = 24*60*60; // 24 hour
//cTTL = 1;
cNavTokenKey = 'NavToken=';
cTimeStampKey = 'TimeStamp=';
@@ -50,8 +51,8 @@ begin
if (Result = '') and Assigned(Downloader) then begin
VTimeStamp := IntToStr(GetUnixTime);
VRequestUrl := 'http://backend.navionics.io/tile/get_key/Navionics_internalpurpose_00001/webapp.navionics.com?_=' + VTimeStamp;
VRequestHeader := 'Origin: http://webapp.navionics.com' + #13#10 + 'Referer: http://webapp.navionics.com/';
VRequestUrl := 'https://backend.navionics.com/tile/get_key/NAVIONICS_WEBAPP_P01/webapp.navionics.com?_=' + VTimeStamp + '123';
VRequestHeader := 'Origin: https://webapp.navionics.com' + #13#10 + 'Referer: https://webapp.navionics.com/';
VResponseHeader := '';
VResponseData := '';
VResponseCode := Downloader.DoHttpRequest(VRequestUrl, VRequestHeader, '', VResponseHeader, VResponseData);


+ 1
- 1
_water/navionics.zmp/params.txt View File

@@ -3,7 +3,7 @@ GUID={A830C100-49C8-4623-957A-60B85C39FBE0}
name=Navionics Marine Charts
ParentSubMenu_ru=Ìîðñêèå êàðòû
ParentSubMenu=Marine maps
DefURLBase=http://backend.navionics.io/tile/
DefURLBase=https://backend.navionics.com/tile/
NameInCache=navionics
Ext=.png
ContentType=image/png


Loading…
Cancel
Save