new NavionicsOverlay(options)
Show Navionics Maps in to Google Maps technologies
Name | Type | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
array | object |
optional
Some initialization options.
|
Example
<script>
// The Google Map Engine options
var gibilterra = new google.maps.LatLng(36.140751,-5.353585);
var gMapNauticalOptions = {
zoom: 14,
center: gibilterra,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
// Creation of Google Map Engine
var gMapNautical = new google.maps.Map(document.getElementById("nautical-map-container"), gMapNauticalOptions);
//Navionics NauticalChart
var navionics_nauticalchart_layer = new JNC.Google.NavionicsOverlay({
navKey: "****",
chartType: JNC.Google.NavionicsOverlay.CHARTS.NAUTICAL
});
gMapNautical.overlayMapTypes.insertAt(0, navionics_nauticalchart_layer);
</script>
Members
-
staticJNC.Google.NavionicsOverlay.NavionicsOverlay.CHARTS
-
The enumeration with supported overlay types.