Component JNC.Views.Map

Load KML on Map

This is an example of how embedding the map and load one KML file






The code



    var webapi = new JNC.Views.Map({
        tagId: '.test_map_div',
        center: [  12.0, 46.0 ],
        navKey: '***'
    });


    webapi.loadKml('/examples/data/restore.kml');