Component JNC.Google.NavionicsOverlay

Acknowledgements | Not to be used for navigation
This page can't load Google Maps correctly.
Do you own this website?

Navionics NauticalChart base-overlay with different logo settings: with logo payoff

This example shows how to draw multiple Navionics overlay based on Google maps with different logo settings. Logo can be shown with or without payoff. This overlay shows Navionics logo with payoff

  1. // The Google Map Engine options
  2. var gMapNauticalOptions = {
  3. zoom: 14,
  4. center: gibilterra,
  5. mapTypeId: google.maps.MapTypeId.ROADMAP
  6. };
  7. // Creation of Google Map Engine
  8. var gMapNautical = new google.maps.Map(document.getElementById("nautical-map-container"), gMapNauticalOptions);
  9. //Navionics NauticalChart
  10. var navionics_nauticalchart_layer = new JNC.Google.NavionicsOverlay({
  11. navKey: "****",
  12. chartType: JNC.Google.NavionicsOverlay.CHARTS.NAUTICAL,
  13. // Enable Navionics logo with payoff
  14. logoPayoff: true,
  15. // Since we draw multiple NavionicsOverlay on the same page, we have to pass the id of the div containing every instance
  16. divId: 'nautical-map-container'
  17. });
  18. gMapNautical.overlayMapTypes.insertAt(0, navionics_nauticalchart_layer);
Acknowledgements | Not to be used for navigation
This page can't load Google Maps correctly.
Do you own this website?

Navionics NauticalChart base-overlay with different logo settings: without logo payoff

This overlay shows Navionics logo without payoff

  1. // The Google Map Engine options
  2. var gibilterra = new google.maps.LatLng(36.140751,-5.353585);
  3. var gMapNauticalOptions = {
  4. zoom: 14,
  5. center: gibilterra,
  6. mapTypeId: google.maps.MapTypeId.ROADMAP
  7. };
  8. var gMapNautical2 = new google.maps.Map(document.getElementById("sonar-map-container"), gMapNauticalOptions);
  9. //Navionics SonarChart
  10. var navionics_sonarchart_layer = new JNC.Google.NavionicsOverlay({
  11. navKey: "****",
  12. chartType: JNC.Google.NavionicsOverlay.CHARTS.SONAR,
  13. // Enable Navionics logo without payoff (Default behaviour)
  14. logoPayoff: false,
  15. // Since we draw multiple NavionicsOverlay on the same page, we have to pass the id of the div containing every instance
  16. divId: 'sonar-map-container'
  17. });
  18. gMapNautical2.overlayMapTypes.insertAt(0, navionics_sonarchart_layer);
BESbswy
BESbswy