Skip to content

KmlOverlay

Masashi Katsumata edited this page Apr 22, 2014 · 15 revisions

###Add a KmlOverlay The map.addKmlOverlay() method takes a single overlay options object literal, specifying the initial properties of the kml overlay.

The following fields are available when constructing a ground overlay:

Field Name Type Description
url String The url of the kml file (File path or network url)
map.addKmlOverlay({
  'url': "www/polygon.kml"
}, function(kmlOverlay) {
  map.showDialog();
});

image


KmlOverlay Class Reference

Method Return value Description
remove() void Remove the kml overlay.

Join the official community

New versions will be announced through the official community. Stay tune!

Do you have a question or feature request?

Feel free to ask me on the issues tracker.

Or on the official community is also welcome!


New version 2.0-beta2 is available.

The cordova-googlemaps-plugin v2.0 has more faster, more features.

https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/tree/master/v2.0.0/README.md

Clone this wiki locally