Timezones in KML

Demonstrates rendering timezones from KML.

This example parses a KML file and renders the features as a vector layer. The layer is given a ol.style.Style that fills timezones 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