-
Notifications
You must be signed in to change notification settings - Fork 24
/
index.html
66 lines (58 loc) · 2.56 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
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Language" content="en">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Leaflet plugin for plain image map projection to display large images using tiles generated with gdal2tiles-leaflet">
<title>leaflet-rastercoords - A leaflet plugin for plain image map projection</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/styles/github.min.css">
<link rel="stylesheet" href="gh-pages/index.css">
</head>
<body>
<header>
<h1>leaflet-rastercoords</h1>
</header>
<div class="content">
<div class="pure-g">
<div class="pure-u-1">
<p>
Leaflet plugin for plain image map projection to display large images using tiles generated with <a href="https://github.com/commenthol/gdal2tiles-leaflet">gdal2tiles-leaflet</a>.
</p>
<iframe id="map" src="./example/index.html"></iframe>
<p class="center">
<small><a href="./example/index.html">See this example stand-alone.</a></small>
</p>
<hr>
<h2>Using «leaflet-rastercoords»</h2>
<p>The example provides layers for markers, geoJson, and polygons.
Below the javascript code for Leaflet and the plugin can be found.
Please check the comments...
</p>
<pre><code class="javascript" id="indexJs"></code></pre>
<p>The tiles were generated using this script:
</p>
<pre><code class="bash" id="createtilesSh"></code></pre>
<hr>
<a href="https://github.com/commenthol/leaflet-rastercoords">
Take me to the source...
</a>
</div>
</div>
<footer>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/highlight.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/languages/javascript.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.7.0/languages/bash.min.js"></script>
<script src="gh-pages/xhr.js"></script>
<script>
_xhr('./example/index.js', '#indexJS', function () {
_xhr('./example/createtiles.sh', '#createtilesSh', function () {
hljs.initHighlighting()
})
})
</script>
</body>
</html>