kml-layer(url, KmlLayerOptions, <KmlLayerEvent>)
renders Kml layer on a map Requires: map directive Restrict To: Element
Parameters:
Name | Type | Description |
---|---|---|
url |
Url | url of the kml layer |
KmlLayerOptions |
KmlLayerOptions | (https://developers.google.com/maps/documentation/javascript/reference#KmlLayerOptions) |
<KmlLayerEvent> |
String | Any KmlLayer events, https://developers.google.com/maps/documentation/javascript/reference |
- Source:
Requires:
- module:Attr2Options
Example
Usage:
<map MAP_ATTRIBUTES>
<kml-layer ANY_KML_LAYER ANY_KML_LAYER_EVENTS"></kml-layer>
</map>
Example:
<map zoom="11" center="[41.875696,-87.624207]">
<kml-layer url="http://gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml" ></kml-layer>
</map>
Requires
- module:Attr2Options