Class: NavionicsOverlay

JNC.Google. NavionicsOverlay

Show Navionics Maps in to Google Maps technologies

Name Type Description
options array | object optional

Some initialization options.

Name Type Default Description
navKey string

Map's navKey

chartType JNC.NAVIONICS_CHARTS JNC.NAVIONICS_CHARTS.NAUTICAL optional

Overlay type. Possible values: JNC.NAVIONICS_CHARTS.NAUTICAL, JNC.NAVIONICS_CHARTS.SONAR, JNC.NAVIONICS_CHARTS.SKI.

isTransparent boolean true optional

Defines if overlay tiles are transparent or not.

depthUnit JNC.DEPTH_UNIT JNC.DEPTH_UNIT.METERS optional

Depth unit type. Possible values: JNC.DEPTH_UNIT.METERS, JNC.DEPTH_UNIT.FEET.

depthLevel JNC.SAFETY_DEPTH_LEVEL JNC.SAFETY_DEPTH_LEVEL.LEVEL4 optional

Depth level type. Possible values: JNC.SAFETY_DEPTH_LEVEL.LEVEL0, JNC.SAFETY_DEPTH_LEVEL.LEVEL1, JNC.SAFETY_DEPTH_LEVEL.LEVEL2, JNC.SAFETY_DEPTH_LEVEL.LEVEL3, JNC.SAFETY_DEPTH_LEVEL.LEVEL4.

See:
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.