-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pindrop.Example.html
46 lines (40 loc) · 1.74 KB
/
Pindrop.Example.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>A PINDROP Demo | PINDROP</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" integrity="sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha256-YLGeXaapI0/5IgZopewRJcFXomhRMlYYjugPLSyNjTY=" crossorigin="anonymous" />
</head>
<body>
<h1 class="py-4>Example HTML and Javascript Code Placement</h1>
<main>
<div class="container">
<div class="row my-5">
<!-- start pin drop template -->
<div id="pdPlugin">
<div id="pdMap"></div>
<div id="pdList"></div>
</div>
<!-- end pindrop template -->
</div>
</div>
</main>
<footer class="small py-4">
© 2019 PINDROP & AVATAR, LLC. All rights reserved.
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/js/bootstrap.bundle.min.js" integrity="sha256-fzFFyH01cBVPYzl16KT40wqjhgPtq6FFUB6ckN2+GGw=" crossorigin="anonymous"></script>
<!-- start PinDrop JS -->
<script src="pindrop.js"></script>
<script>
var pindropSettings = {
mapApiKey: 'YOUR-MAP-KEY-HERE-jdbAAAVVVAAATTTAAARRRftw',
pindropKey: 'YOUR-PINDROP-KEY-HERE-jdbAAAVVVAAATTTAAARRRftw',
enablePaging: true
};
var pindrop = $('#pdPlugin').pindrop(pindropSettings);
</script>
</body>
</html>