-
Notifications
You must be signed in to change notification settings - Fork 79
/
index.html
141 lines (132 loc) · 6.77 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<html>
<head>
<title>bbox finder</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="css/maps/leaflet.css" />
<link rel="stylesheet" href="css/maps/leaflet.draw.css" />
<link rel="stylesheet" href="css/maps/leaflet.sidebar.css" />
<link rel="stylesheet" href="css/maps/mapbox.v3.2.0.css" />
<link rel="stylesheet" href="css/libs/ui-lightness/jquery-ui-1.10.3.custom.css" />
<link rel="stylesheet" href="css/bbox.css" />
<script src="js/libs/jquery-1.9.1.min.js"></script>
<script src="js/libs/jquery-ui-1.10.3.custom.js"></script>
<script src="js/libs/ZeroClipboard.min.js"></script>
<script src="js/maps/leaflet.js"></script>
<script src="js/maps/mapbox.v3.2.0.js"></script>
<script src="js/maps/leaflet.draw.js"></script>
<script src="js/maps/leaflet.sidebar.js"></script>
<script src="js/maps/wkt.parser.js"></script>
<script src="js/maps/proj4-src.js"></script>
<script src="js/maps/proj4leaflet.js"></script>
<script src="js/maps/test.runner.js"></script>
<script src="js/bbox.js"></script>
</head>
<body>
<a href="https://github.com/aaronr/bboxfinder.com"><img style="position: absolute; top: 0; right: 0; border: 0; z-index:3000; max-hight:100px; max-width:100px;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
<ul id="map-ui-proj">
<li><label class="epsglabel" id="projection_label" for="projection" title="EPSG projection code">EPSG: </label><input id="projection" size="6"/></li>
</ul>
<ul id="map-ui">
<li id="create-geojson"><a title="Enter coordinates"></a></li>
<li id="geolocation"><a class="active" title="My location"></a></li>
<li id="help"><a title="Help"></a></li>
</ul>
<div id="map"></div>
<div id="rsidebar" >
<button id="add">Add</button>
<button id="clear">Clear</button>
<textarea placeholder="Paste GeoJSON, WKT, ogrinfo extent output or a bbox in the format (xMin,yMin,xMax,yMax)" title="Paste It!"></textarea>
</div>
<div id="lsidebar">
<textarea readonly placeholder="Looking for a little help?" title="Help Me"></textarea>
</div>
<section id="info-box">
<div id="info-toggle">
<ul>
<li id="info-toggle-button">Hide Coordinates</li>
<li id="wgslabel" class="active"></li>
<li id="projlabel"></li>
</ul>
</div>
<div id="info">
<div id="wgscoords" class="coords">
<div id="mouse">
<span id="mouselabel" class="bboxlabel">Mouse</span>
<span id="mousepos" class="bboxllpossmall"></span>
</div>
<div id="tile">
<span id="tilelabel" class="bboxlabel">Tile</span>
<span class="tilelevel tilesmall"></span>
</div>
<div id="zoom">
<span id="bboxlabel" class="bboxlabel">Zoom</span>
<span class="zoomlevel zoomsmall"></span>
</div>
<div id="bbounds">
<span id="bbboundslabel" class="bboxlabel">Box</span>
<img id="boxboundsbtn" data-clipboard-target="boxbounds" src="/images/copy.png"><span id="boxbounds" class="bboxllpos"></span>
</div>
<div id="mbounds">
<span id="mboundslabel" class="bboxlabel">Map</span>
<img id="mapboundsbtn" data-clipboard-target="mapbounds" src="/images/copy.png"><span id="mapbounds" class="bboxllpos"></span>
</div>
<div id="mcenter">
<span id="mcenterlabel" class="bboxlabel">Center</span>
<img id="centerbtn" data-clipboard-target="center" src="/images/copy.png"><span id="center" class="bboxllpossmall"></span>
</div>
</div>
<div id="projcoords" class="coords">
<div id="mouse">
<span id="mouselabel" class="bboxlabel">Mouse</span>
<span id="mouseposmerc" class="bboxprojpossmall"></span>
</div>
<div id="tile">
<span id="tilelabel" class="bboxlabel">Tile</span>
<span class="tilelevel tilesmall"></span>
</div>
<div id="zoom">
<span id="bboxlabel" class="bboxlabel">Zoom</span>
<span class="zoomlevel zoomsmall"></span>
</div>
<div id="bbounds">
<span id="bbboundslabel" class="bboxlabel">Box</span>
<img id="boxboundsmercbtn" data-clipboard-target="boxboundsmerc" src="/images/copy.png"><span id="boxboundsmerc" class="bboxprojpos"></span>
</div>
<div id="mbounds">
<span id="mboundslabel" class="bboxlabel">Map</span>
<img id="mapboundsmercbtn" data-clipboard-target="mapboundsmerc" src="/images/copy.png"><span id="mapboundsmerc" class="bboxprojpos"></span>
</div>
<div id="mcenter">
<span id="mcenterlabel" class="bboxlabel">Center</span>
<img id="centermercbtn" data-clipboard-target="centermerc" src="/images/copy.png"><span id="centermerc" class="bboxprojpossmall"></span>
</div>
</div>
<div id="coord-format">
<div class="bboxlabel">
Coordinate Format
</div>
<form>
<input type="radio" name="coord-order" value="lng-lat" checked>Lng / Lat</input></br>
<input type="radio" name="coord-order" value="lat-lng">Lat / Lng</input><br/>
<input type="checkbox" name="gdal-checkbox" value="gdal" checked>GDAL</input>
</form>
</div>
</div>
</section>
<div id="ocontainer" class="ocontainer" style="display:none;">
<textarea rows="25" cols="100" ></textarea>
<div id="submit-buttons">
<button id="cancel">Cancel</button>
<button id="add">Add</button>
</div>
</div>
</body>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-1253169-10', 'bboxfinder.com');
ga('send', 'pageview');
</script>
</html>