-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmap.html
More file actions
80 lines (57 loc) · 2.22 KB
/
map.html
File metadata and controls
80 lines (57 loc) · 2.22 KB
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
---
title: Wikiatlas Demo
layout: default
---
<link rel="stylesheet" href="{{ site.baseurl }}/static/css/wikimaps.atlas.css">
<div id="wikiatlas">
<!-- Header -->
<header>
<h2>World Atlas <small>Map:W0</small></h2>
<h3>India <small>Political Map <br>1st, 2nd & 3rd level Administrative units</small> <span class="right subheader scale">1:2,300,000</span></h3>
<h4>Republic of India / <input id="wikiatlas-search" placeholder="Find a place"> </h4>
</header>
<!-- Content -->
<div id="wikiatlas-map"></div>
<!-- Tools -->
<div id="wikiatlas-toolbar"></div>
</div>
<!-- JS Dependencies -->
<script src="{{ site.baseurl }}/static/bower_components/foundation/js/foundation.min.js"></script>
<script src="{{ site.baseurl }}/static/bower_components/underscore/underscore.js"></script>
<script src="{{ site.baseurl }}/static/bower_components/backbone/backbone.js"></script>
<script src="{{ site.baseurl }}/static/bower_components/d3/d3.min.js"></script>
<script src="{{ site.baseurl }}/static/js/d3.geo.zoom.js"></script>
<script src="{{ site.baseurl }}/static/bower_components/topojson/topojson.js"></script>
<script src="{{ site.baseurl }}/static/js/wikimaps.atlas.js"></script>
<script>
atlasMapOptions = {
mapLocation: "India",
mapTheme: "Administrative",
mapDate: "2014",
mapsetID: "RUS.adm1"
}
// atlasOptions = {
// id: "AFG.adm.2014", //Shortcut mapset id, overrides the verbose options below
// set: "admin", // Map of
// theme: "States", // in
// location: "AFG",
// date: "2014",
// id: "AFG.adm1",
// style: {
// name: "default",
// mapCSS:".Province{font-size:15%} .State {font-size:5%}"
// }
//
//
// }
/** Using mapsetID
Format: LocationID.ThemeID.Date
* Latest World Administrative Map : W.adm0
* World Administrative Map 1954 : W.adm0.1954
* India Topography Map : IND.topo
* India Topography + State border map : IND.adm1-topo
*/
var atlas = new wikiatlas.Map(atlasMapOptions);
$(document).ready(function () {
});
</script>