-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (63 loc) · 2.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Find Places within Map Bounds</title>
<link rel="stylesheet" media="screen" href="/style.css" />
<script src="//code.jquery.com/jquery-3.4.1.min.js" type="text/javascript"></script>
<script src="//cdn.jsdelivr.net/npm/clipboard@2/dist/clipboard.min.js"></script>
<script type="text/javascript" src="//cdn.datatables.net/1.10.19/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="//cdn.datatables.net/buttons/1.5.6/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
<script type="text/javascript" src="//cdn.datatables.net/buttons/1.5.6/js/buttons.html5.min.js"></script>
<!-- SETUP APP SETTINGS BELOW (API KEYS, SERVICE URLS) FROM ENV VARIABLES -->
<script type="text/javascript" src="//maps.google.com/maps/api/js?v=3.31&libraries=geometry&key=@:GOOGLEMAPSAPIKEY"></script>
<script type="text/javascript">
var _mqKey = '@:MAPQUESTAPIKEY';
var _mqUrl = 'https://www.mapquestapi.com/search/v4/place';
var _isDebug = @:ISDEBUG;
</script>
<!-- OK, COOL -->
<script type="text/javascript" src="/maplabel.js"></script>
<script type="text/javascript" src="/findplaces.js"></script>
</head>
<body>
<div id="fetching"><div></div></div>
<textarea id="clipboard" style="display:none;"></textarea>
<table id="exportDL" style="display:none; width: 100%;"></table>
<div id="left-panel">
<div>
<div>
<div class="container CardInner Card">
<div class="InputContainer">
<form id="searchbox_form" style="width: inherit;" onsubmit="return false;" class="initial-searchbox-wrapper" autocomplete="off">
<input placeholder="Find places of interest by keyword" id="searchboxinput" />
<div class="searchbox-searchbutton-container">
<button type="button" id="searchbutton" class="searchbox-searchbutton" value="Search"></button>
</div>
<div class="searchbox-searchbutton-container">
<button type="button" id="clearbutton" class="searchbox-searchbutton" value="Reset"></button>
</div>
</form>
</div>
</div>
<div class="toolbutton-container container Card">
<button id="copy" type="button" class="toolbutton" data-clipboard-target="#clipboard">Copy to Clipboard</button>
<button id="export" type="button" class="toolbutton">Export Tab Delimited</button>
<button id="raster" type="button" class="toolbutton" data-hidden="true">Toggle Raster</button>
</div>
</div>
</div>
<ul id="places"></ul>
<div id="pager">
<a id="prev" href="#"><prev</a>
<a id="next" href="#">next></a>
</div>
</div>
<div id="mapContainer">
<div id="map"></div>
</div>
</body>
</html>