-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
66 lines (55 loc) · 2.67 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!DOCTYPE html>
<html lang="fr">
<head>
<title>Leaflet extension for remote GeoJSON layers</title>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="//leafletjs.com/docs/images/favicon.ico" />
<!-- Leaflet kernel -->
<link href="//npmcdn.com/leaflet/dist/leaflet.css" rel="stylesheet" />
<script src="//npmcdn.com/leaflet/dist/leaflet-src.js"></script>
<!-- Rrose -->
<link href="//rawgit.com/erictheise/rrose/master/leaflet.rrose.css" rel="stylesheet" />
<script src="//rawgit.com/erictheise/rrose/master/leaflet.rrose-src.js"></script>
<!-- This plugin -->
<link href="src/GeoJSON.Style.css" rel="stylesheet"/>
<script src="src/GeoJSON.Style.js"></script>
<script src="src/GeoJSON.Ajax.js"></script>
<script src="src/Control.Layers.argsGeoJSON.js"></script>
<!-- Test layers -->
<script src="src/layers/GeoJSON.Ajax.WRI.js"></script>
</head>
<body>
<p>Leaflet extension for remote GeoJSON layers (Markers, Polylines, Polygons, ...)</p>
<p>This demo runs on Leaflet V<script>document.write(L.version)</script><?=" on debug mode."?> ➠ <a href="examples/v0.7.html">See demo on Leaflet V0.7</a></p>
<!-- Map block -->
<div id="map" style="width: 800px; height: 600px"></div>
<!-- Loading status block -->
<div id="ajax-status">
Load status:
<span id="ajax-zoom">Zoom to see more points</span>
<span id="ajax-wait">Loading...</span>
<span id="ajax-some">Loaded.</span>
<span id="ajax-zero">Nothing to see.</span>
</div>
<!-- Doc & debug -->
<p>See the javascript code of this demo <a href="examples/index.js">here</a> and <a href="src/layers/GeoJSON.Ajax.WRI.js">here</a></p>
<p>To get a local demo, copy the html source of this page on a local .html file & call it from your brother (no PHP required).</p>
<p>See a remote geoJson simple demo <a href="examples/simple.html">here</a></p>
<p>See a demo with styling <a href="examples/styling.html">here</a></p>
<p>See a more complex demo based on OSM Overpass API <a href="examples/osm.html">here</a></p>
<p>Sources & docs on <a href="https://github.com/Dominique92/Leaflet.GeoJSON.Ajax">Github: Dominique92/Leaflet.GeoJSON.Ajax</a></p>
<p>Visit my fully integrated <a href="https://github.com/Dominique92/MyLeaflet">Dominique92/MyLeaflet</a> library</p>
<a href="https://github.com/Dominique92/Leaflet.GeoJSON.Ajax"
style="position:absolute;top:0;right:0"
title="Sources & docs">
<img src="../../examples/forkme.png" />
</a>
<a href="examples/simple.html"
style="position:absolute;top:200px;right:0;text-decoration:none;font-size:large"
title="Simple test">
➠
</a>
<!-- Insert the javascript after all <div> are defined -->
<script src="examples/index.js"></script>
</body>
</html>