-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdemo.html
24 lines (22 loc) · 1.69 KB
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- SCRIPTS -->
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-core.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-service.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-ui.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-mapevents.js"></script>
<script type="text/javascript" src="https://js.api.here.com/v3/3.0/mapsjs-clustering.js"></script>
<!-- BODY -->
<h1>Marker Clustering</h1>
<p>This example displays a map showing the distribution of airports across the world. The locations were obtained by using the <a target="_blank" rel="nofollow" href="http://openflights.org/data.html">OpenFlights Airport Database</a>. Instead of adding a marker for each location, the data has been clustered, and individual airports are only shown at higher zoom levels.</p>
<hr/>
<div id="map" style="width: 600px; height: 400px; background: grey"></div>
<hr/>
<h2>Credits</h2>
<blockquote>
<code>airports.json</code><br>
<small>
OpenFlights Airport, Airline and Route Databases are made available under the Open Database License (<a href="http://opendatacommons.org/licenses/odbl/1.0/">http://opendatacommons.org/licenses/odbl/1.0/</a>).<br/>
Any rights in individual contents of the database are licensed under the Database Contents License.
(<a href="http://opendatacommons.org/licenses/dbcl/1.0/">http://opendatacommons.org/licenses/dbcl/1.0/</a>)<br/>
In short, these mean that you are welcome to use the data as you wish, if and only if you both acknowledge the source and and license any derived works made available to the public with a free license as well.
</small>
</blockquote>