UNPKG

637 BHTMLView Raw
1---
2layout: example.html
3title: Earthquakes in KML
4shortdesc: Demonstrates the use of a Shape symbolizer to render earthquake locations.
5docs: >
6 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.
7tags: "KML, vector, style, tooltip"
8resources:
9 - https://code.jquery.com/jquery-2.2.3.min.js
10 - https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css
11 - https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js
12---
13<div id="map" class="map"><div id="info"></div></div>