You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
1003 B

  1. // LAYERS parameter: config_a_b_c
  2. // a = 1 for depth in meters, 2 for depth in feet, 3 for fathoms
  3. // b = 10.00: for 10.00 m safety depth (beginning of blue coloring) (unit equal to that set by a)
  4. // c = 0 for pristine Navionics charts, 1 for Sonar Charts
  5. // TRANSPARENT parameter: FALSE for non-layer, TRUE for layer
  6. // UGC parameter: FALSE for pristine Navionics charts, TRUE for additinal user-generated content icons
  7. // navtoken: base64 encoded string of either:
  8. // - "Navionics_internalpurpose_00001+webapiv2.navionics.com" (used with Referrer: https://webapiv2.navionics.com/examples/4000_gNavionicsOverlayExample.html)
  9. // - "Navionics_internalpurpose_00001+webapp.navionics.com" (used with Referrer: https://webapp.navionics.com/?lang=en)
  10. begin
  11. ResultURL:=GetURLBase+inttostr(GetZ-1)+'/'+inttostr(GetX)+'/'+inttostr(GetY)+'?LAYERS=config_1_10.00_1&TRANSPARENT=TRUE&UGC=FALSE&navtoken=TmF2aW9uaWNzX2ludGVybmFscHVycG9zZV8wMDAwMSt3ZWJhcGl2Mi5uYXZpb25pY3MuY29t';
  12. end.