KML Layer Example

KML

Demonstrates loading and displaying a KML file on top of a basemap.

A vector layer can be populated with features from a KML document by configuring the layer with an HTTP protocol that points to the KML document and is configured with a KML format for parsing features. The fixed strategy is used to load all features at once.

View the kml-layer.js source to see how this is done.