Convert K examples to strapless template
This commit is contained in:
@@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
layout: example.html
|
layout: strapless.html
|
||||||
title: Earthquakes in KML
|
title: Earthquakes in KML
|
||||||
shortdesc: Demonstrates the use of a Shape symbolizer to render earthquake locations.
|
shortdesc: Demonstrates the use of a Shape symbolizer to render earthquake locations.
|
||||||
docs: >
|
docs: >
|
||||||
This example parses a KML file and renders the features as a vector layer. The layer is given a <code>style</code> that renders earthquake locations with a size relative to their magnitude.
|
This example parses a KML file and renders the features as a vector layer. The layer is given a <code>style</code> that renders earthquake locations with a size relative to their magnitude.
|
||||||
tags: "KML, vector, style, tooltip"
|
tags: "KML, vector, style, tooltip"
|
||||||
|
resources:
|
||||||
|
- https://code.jquery.com/jquery-1.11.2.min.js
|
||||||
|
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css
|
||||||
|
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js
|
||||||
---
|
---
|
||||||
<div class="row-fluid">
|
<div id="map" class="map"><div id="info"></div></div>
|
||||||
<div class="span12">
|
|
||||||
<div id="map" class="map"><div id="info"></div></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -1,14 +1,14 @@
|
|||||||
---
|
---
|
||||||
layout: example.html
|
layout: strapless.html
|
||||||
title: Timezones in KML
|
title: Timezones in KML
|
||||||
shortdesc: Demonstrates rendering timezones from KML.
|
shortdesc: Demonstrates rendering timezones from KML.
|
||||||
docs: >
|
docs: >
|
||||||
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
|
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
|
||||||
yellow with an opacity calculated based on the current offset to local noon.
|
yellow with an opacity calculated based on the current offset to local noon.
|
||||||
tags: "KML, vector, style"
|
tags: "KML, vector, style"
|
||||||
|
resources:
|
||||||
|
- https://code.jquery.com/jquery-1.11.2.min.js
|
||||||
|
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css
|
||||||
|
- https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js
|
||||||
---
|
---
|
||||||
<div class="row-fluid">
|
<div id="map" class="map"><div id="info"></div></div>
|
||||||
<div class="span12">
|
|
||||||
<div id="map" class="map"><div id="info"></div></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
+6
-14
@@ -1,20 +1,12 @@
|
|||||||
---
|
---
|
||||||
layout: example.html
|
layout: strapless.html
|
||||||
title: KML example
|
title: KML
|
||||||
shortdesc: Example of using the KML source.
|
shortdesc: Rendering KML with a vector source.
|
||||||
docs: >
|
docs: >
|
||||||
Example of using the KML source.
|
This example uses the <code>ol.format.KML</code> to parse KML for rendering with a vector source.
|
||||||
tags: "KML"
|
tags: "KML"
|
||||||
cloak:
|
cloak:
|
||||||
Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3: Your Bing Maps Key from http://bingmapsportal.com/ here
|
Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3: Your Bing Maps Key from http://bingmapsportal.com/ here
|
||||||
---
|
---
|
||||||
<div class="row-fluid">
|
<div id="map" class="map"></div>
|
||||||
<div class="span12">
|
<div id="info"> </div>
|
||||||
<div id="map" class="map"></div>
|
|
||||||
<div class="span4 offset4 pull-right">
|
|
||||||
<div id="info" class="alert alert-success">
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user