UNPKG

628 BHTMLView Raw
1---
2layout: example.html
3title: Timezones in KML
4shortdesc: Demonstrates rendering timezones from KML.
5docs: >
6 This example parses a KML file and renders the features as a vector layer. The layer is given a <code>ol.style.Style</code> that fills timezones
7 yellow with an opacity calculated based on the current offset to local noon.
8tags: "KML, vector, style"
9resources:
10 - https://code.jquery.com/jquery-2.2.3.min.js
11 - https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
12 - https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js
13---
14<div id="map" class="map"><div id="info"></div></div>