Timezones in KML

Demonstrates rendering timezones from KML.

This example parses a KML file and renders the features as a vector layer. Note that currently the kml:StyleMap elements are not parsed, so the layer is given a ol.style.Style manually. The timezones are filled yellow with an opacity calculated based on the current offset to local noon.

See the kml-timezones.js source to see how this is done.

KML, vector, style