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
|
||||
shortdesc: Demonstrates the use of a Shape symbolizer to render earthquake locations.
|
||||
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.
|
||||
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 class="span12">
|
||||
<div id="map" class="map"><div id="info"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="map" class="map"><div id="info"></div></div>
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
---
|
||||
layout: example.html
|
||||
layout: strapless.html
|
||||
title: Timezones in KML
|
||||
shortdesc: Demonstrates rendering timezones from KML.
|
||||
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
|
||||
yellow with an opacity calculated based on the current offset to local noon.
|
||||
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 class="span12">
|
||||
<div id="map" class="map"><div id="info"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="map" class="map"><div id="info"></div></div>
|
||||
|
||||
@@ -1,20 +1,12 @@
|
||||
---
|
||||
layout: example.html
|
||||
title: KML example
|
||||
shortdesc: Example of using the KML source.
|
||||
layout: strapless.html
|
||||
title: KML
|
||||
shortdesc: Rendering KML with a vector source.
|
||||
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"
|
||||
cloak:
|
||||
Ak-dzM4wZjSqTlzveKz5u0d4IQ4bRzVI309GxmkgSVr1ewS6iPSrOvOKhA-CJlm3: Your Bing Maps Key from http://bingmapsportal.com/ here
|
||||
---
|
||||
<div class="row-fluid">
|
||||
<div class="span12">
|
||||
<div id="map" class="map"></div>
|
||||
<div class="span4 offset4 pull-right">
|
||||
<div id="info" class="alert alert-success">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="map" class="map"></div>
|
||||
<div id="info"> </div>
|
||||
|
||||
Reference in New Issue
Block a user