forked from mapbox/leaflet-pip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (34 loc) · 1.24 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
<!DOCTYPE html>
<html>
<head>
<title>Leaflet Point in Polygon</title>
<link rel='stylesheet' type='text/css' href='' />
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<script src='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.js'></script>
<link href='https://api.tiles.mapbox.com/mapbox.js/v1.6.4/mapbox.css' rel='stylesheet' />
<style>
body { width: 500px; margin: 20px auto; font: normal 12px/20px sans-serif; }
#map { width: 500px; height: 300px; }
#me {
background: darkblue;
color:#fff;
border-radius:5px;
border-width:0;
padding:10px;
font-size:20px;
width: 100%;
}
</style>
</head>
<body>
<h1>Leaflet Point in Polygon</h1>
<p>a simple 'plugin' for doing point-in-polygon intersections with
Leaflet vector layers.
<a href='https://github.com/tmcw/leaflet-pip'>fork, copy, download,
learn about it on GitHub</a>.</p>
<div id='map'></div>
<button id='me'>Find Me</button>
<script src='site/states.js'></script>
<script src='site/bundle.js'></script>
</body>
</html>