1 | ---
|
2 | layout: example.html
|
3 | title: Timezones in KML
|
4 | shortdesc: Demonstrates rendering timezones from KML.
|
5 | docs: >
|
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.
|
8 | tags: "KML, vector, style"
|
9 | resources:
|
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>
|