web-mapping-leaflet 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/_config.yml +24 -0
- data/_data/about.yml +2 -2
- data/_data/legends.yml +2 -2
- data/_data/libs.yml +15 -0
- data/_data/map_config.yml +8 -7
- data/_data/map_data.yml +7 -7
- data/_data/map_source.yml +66 -0
- data/_includes/head.html +11 -3
- data/_includes/map.html +73 -12
- data/_includes/navbar.html +9 -1
- data/_layouts/page.html +1 -1
- data/_sass/web-mapping-leaflet.scss +11 -2
- data/assets/icons/android-chrome-192x192.png +0 -0
- data/assets/icons/android-chrome-512x512.png +0 -0
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon-16x16.png +0 -0
- data/assets/icons/favicon-32x32.png +0 -0
- data/assets/icons/jekylleaf.png +0 -0
- data/assets/icons/site.webmanifest +1 -0
- data/index.md +1 -3
- metadata +82 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '079ccc06399d1239a217718506c8af45a13e65b6faa5e1f7156ac43d105afb82'
|
|
4
|
+
data.tar.gz: 85797d5297572b078e58e07d46c897e9706d0559427956ddc1ca334a0209fa8e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3edabff4671a0e49fac46e01fd91ef74af4e4bf6c10d2f8412f03cff899bb4f174bd7c20661821b0f15aa8ded65c15ff625a949a570a32a9458d5324a8902b33
|
|
7
|
+
data.tar.gz: f755a21b0d978094e0881fccf0e6338b28df3da5f1bf96b9ef5352d62c492ec18ca0c92212f05b591ffd709109e4e8a0b216f67b2f5410d9abcfa93bbdd6638d
|
data/_config.yml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
title: Web Mapping Jekyll & Leaflet
|
|
2
|
+
author: Lerry William # change this to your name
|
|
3
|
+
email:
|
|
4
|
+
description: >- # this means to ignore newlines until "baseurl:"
|
|
5
|
+
A template for web-mapping website build in Jekyll + leaflet
|
|
6
|
+
baseurl: ""
|
|
7
|
+
url: "https://lerryws.xyz/web-mapping-leaflet/" # change this to your url
|
|
8
|
+
|
|
9
|
+
markdown: kramdown
|
|
10
|
+
|
|
11
|
+
theme: web-mapping-leaflet
|
|
12
|
+
|
|
13
|
+
plugins:
|
|
14
|
+
- jekyll-feed
|
|
15
|
+
- jekyll-seo-tag
|
|
16
|
+
- jekyll-include-cache
|
|
17
|
+
|
|
18
|
+
exclude : [
|
|
19
|
+
"Gemfile",
|
|
20
|
+
"Gemfile.lock",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE.txt",
|
|
23
|
+
"web-mapping-leaflet.gemspec",
|
|
24
|
+
]
|
data/_data/about.yml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
description:
|
|
2
|
-
|
|
1
|
+
description: >-
|
|
2
|
+
This map template can be use for any web mapping purposes, it powered by Jekyll and Leaflet! Do whatever you want with it, be creative :)
|
data/_data/legends.yml
CHANGED
data/_data/libs.yml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
css-baseurl:
|
|
2
|
+
- "/assets/css/main.css"
|
|
3
|
+
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
|
|
4
|
+
- "https://cdn.jsdelivr.net/gh/wslerry/BeautifyMarker/leaflet-beautify-marker-icon.css"
|
|
5
|
+
|
|
6
|
+
js-baseurl:
|
|
7
|
+
- "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"
|
|
8
|
+
- "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
|
|
9
|
+
- "https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
|
|
10
|
+
- "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/js/all.min.js"
|
|
11
|
+
- "https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.5.1/leaflet.js"
|
|
12
|
+
- "https://cdnjs.cloudflare.com/ajax/libs/leaflet.markercluster/1.4.1/leaflet.markercluster.js"
|
|
13
|
+
- "https://api.mapbox.com/mapbox.js/plugins/leaflet-fullscreen/v1.0.1/Leaflet.fullscreen.min.js"
|
|
14
|
+
- "https://cdn.jsdelivr.net/gh/wslerry/BeautifyMarker/leaflet-beautify-marker-icon.js"
|
|
15
|
+
- "https://raw.githubusercontent.com/timwis/leaflet-choropleth/gh-pages/src/choropleth.js"
|
data/_data/map_config.yml
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
map_bound: false
|
|
1
2
|
param:
|
|
2
3
|
-
|
|
3
|
-
lat:
|
|
4
|
-
long:
|
|
5
|
-
zoom:
|
|
4
|
+
lat: 1 #centre
|
|
5
|
+
long: 114 #centre
|
|
6
|
+
zoom: 2
|
|
6
7
|
minZoom: 2 #minimum zoom level
|
|
7
8
|
maxZoom: 18 #maximum zoom level
|
|
8
|
-
x1:
|
|
9
|
-
y1:
|
|
10
|
-
x2:
|
|
11
|
-
y2:
|
|
9
|
+
x1: 108.99437294 #longitude lower left
|
|
10
|
+
y1: -0.04073073 #latitude lower left
|
|
11
|
+
x2: 115.89948784 #longitude upper right
|
|
12
|
+
y2: 5.75707846 #latitude upper right
|
data/_data/map_data.yml
CHANGED
|
@@ -3,16 +3,16 @@ geojson:
|
|
|
3
3
|
-
|
|
4
4
|
name: "Cities"
|
|
5
5
|
url: "assets/cities.geojson"
|
|
6
|
-
createIcon:
|
|
7
|
-
iconURL:
|
|
8
|
-
radius:
|
|
6
|
+
createIcon: false
|
|
7
|
+
iconURL:
|
|
8
|
+
radius: 10
|
|
9
9
|
fillColor: "#9817f2"
|
|
10
10
|
color: "#be85ff"
|
|
11
11
|
weight: 5
|
|
12
12
|
opacity: 0.7
|
|
13
13
|
fillOpacity: 1
|
|
14
14
|
# icon setting
|
|
15
|
-
icontype: "
|
|
15
|
+
icontype: "virus" # refer to font-awesome icons for icon of your interest
|
|
16
16
|
iconShape: "marker" # circle / marker
|
|
17
17
|
borderColor: "#f46118"
|
|
18
18
|
textColor: "#f46118"
|
|
@@ -21,7 +21,7 @@ geojson:
|
|
|
21
21
|
name: "Random"
|
|
22
22
|
url: "assets/random.geojson"
|
|
23
23
|
createIcon: false
|
|
24
|
-
iconURL:
|
|
24
|
+
iconURL:
|
|
25
25
|
radius: 6
|
|
26
26
|
fillColor: "#f26617"
|
|
27
27
|
color: "#ffa985"
|
|
@@ -40,14 +40,14 @@ geojson:
|
|
|
40
40
|
url: "assets/polyline.geojson"
|
|
41
41
|
color: "#ff0000"
|
|
42
42
|
weight: 2
|
|
43
|
-
dashArray: "
|
|
43
|
+
dashArray: "10"
|
|
44
44
|
opacity: 1
|
|
45
45
|
|
|
46
46
|
area:
|
|
47
47
|
-
|
|
48
48
|
name: "Countries"
|
|
49
49
|
url: "assets/countries_dummy.geojson"
|
|
50
|
-
featID:
|
|
50
|
+
featID: 'pop'
|
|
51
51
|
weight: 2
|
|
52
52
|
opacity: 0.7
|
|
53
53
|
color: "#ffffff"
|
data/_data/map_source.yml
CHANGED
|
@@ -1 +1,67 @@
|
|
|
1
|
+
base:
|
|
2
|
+
-
|
|
3
|
+
select: true
|
|
4
|
+
extrajs: false
|
|
5
|
+
leaflet-js:
|
|
6
|
+
format: L.tileLayer
|
|
7
|
+
id: OSM
|
|
8
|
+
name: OpenStreetMap
|
|
9
|
+
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'
|
|
10
|
+
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
11
|
+
-
|
|
12
|
+
select: false
|
|
13
|
+
extrajs: false
|
|
14
|
+
leaflet-js:
|
|
15
|
+
format: L.tileLayer
|
|
16
|
+
id: esri_sat
|
|
17
|
+
name: ESRI Imagery
|
|
18
|
+
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'
|
|
19
|
+
attribution: 'Powered by © <a href="https://www.esri.com/en-us/legal/copyright-trademarks">ESRI</a>'
|
|
20
|
+
-
|
|
21
|
+
select: false
|
|
22
|
+
extrajs: false
|
|
23
|
+
leaflet-js:
|
|
24
|
+
format: L.tileLayer
|
|
25
|
+
id: esri_street
|
|
26
|
+
name: ESRI Street
|
|
27
|
+
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}'
|
|
28
|
+
attribution: 'Powered by © <a href="https://www.esri.com/en-us/legal/copyright-trademarks">ESRI</a>'
|
|
29
|
+
-
|
|
30
|
+
select: false
|
|
31
|
+
extrajs: false
|
|
32
|
+
leaflet-js:
|
|
33
|
+
format: L.tileLayer
|
|
34
|
+
id: esri_topo
|
|
35
|
+
name: ESRI Topo
|
|
36
|
+
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}'
|
|
37
|
+
attribution: 'Powered by © <a href="https://www.esri.com/en-us/legal/copyright-trademarks">ESRI</a>'
|
|
1
38
|
|
|
39
|
+
# Add overlay layer maps (web tiles)
|
|
40
|
+
overlay:
|
|
41
|
+
# -
|
|
42
|
+
# select: false
|
|
43
|
+
# extrajs: false
|
|
44
|
+
# leaflet-js:
|
|
45
|
+
# format: L.tileLayer
|
|
46
|
+
# id: esri_sat_overlay
|
|
47
|
+
# name: ESRI Imagery
|
|
48
|
+
# url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}'
|
|
49
|
+
# attribution: 'Powered by © <a href="https://www.esri.com/en-us/legal/copyright-trademarks">ESRI</a>'
|
|
50
|
+
# -
|
|
51
|
+
# select: false
|
|
52
|
+
# extrajs: false
|
|
53
|
+
# leaflet-js:
|
|
54
|
+
# format: L.tileLayer
|
|
55
|
+
# id: esri_street_overlay
|
|
56
|
+
# name: ESRI Street
|
|
57
|
+
# url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}'
|
|
58
|
+
# attribution: 'Powered by © <a href="https://www.esri.com/en-us/legal/copyright-trademarks">ESRI</a>'
|
|
59
|
+
# -
|
|
60
|
+
# select: false
|
|
61
|
+
# extrajs: false
|
|
62
|
+
# leaflet-js:
|
|
63
|
+
# format: L.tileLayer
|
|
64
|
+
# id: esri_topo_overlay
|
|
65
|
+
# name: ESRI Topo
|
|
66
|
+
# url: 'https://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer/tile/{z}/{y}/{x}'
|
|
67
|
+
# attribution: 'Powered by © <a href="https://www.esri.com/en-us/legal/copyright-trademarks">ESRI</a>'
|
data/_includes/head.html
CHANGED
|
@@ -10,12 +10,20 @@
|
|
|
10
10
|
|
|
11
11
|
{%- seo -%}
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
<link rel="apple-touch-icon" sizes="180x180" href="assets/icons/apple-touch-icon.png">
|
|
14
|
+
<!-- <link rel="icon" type="image/png" href="assets/icons/favicon.png"> -->
|
|
15
|
+
<link rel="icon" type="image/png" sizes="192x192" href="assets/icons/android-chrome-192x192.png">
|
|
16
|
+
<link rel="icon" type="image/png" sizes="512x512" href="assets/icons/android-chrome-512x512.png">
|
|
17
|
+
<link rel="icon" type="image/png" sizes="32x32" href="assets/icons/favicon-32x32.png">
|
|
18
|
+
<link rel="icon" type="image/png" sizes="16x16" href="assets/icons/favicon-16x16.png">
|
|
19
|
+
<link rel="manifest" href="assets/icons/site.webmanifest">
|
|
20
|
+
|
|
21
|
+
{% for css in site.data.libs.css-baseurl %}
|
|
14
22
|
<link rel="stylesheet" href="{{ css | absolute_url }}">
|
|
15
23
|
{% endfor %}
|
|
16
24
|
|
|
17
|
-
{% for js in site.js-baseurl %}
|
|
18
|
-
<script type="text/javascript" src="{{ js }}"></script>
|
|
25
|
+
{% for js in site..data.libs.js-baseurl %}
|
|
26
|
+
<script type="text/javascript" src="{{ js | absolute_url }}"></script>
|
|
19
27
|
{% endfor %}
|
|
20
28
|
|
|
21
29
|
</head>
|
data/_includes/map.html
CHANGED
|
@@ -2,26 +2,66 @@
|
|
|
2
2
|
<div id="map"></div>
|
|
3
3
|
</div>
|
|
4
4
|
<script>
|
|
5
|
-
var OSM = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
|
|
6
|
-
|
|
5
|
+
// var OSM = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',{
|
|
6
|
+
// attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
7
|
+
// });
|
|
8
|
+
|
|
9
|
+
{% for map in site.data.map_source.base %}
|
|
10
|
+
var {{% if map.id %}}{{ map.id }} = {% if map.format %}{{ map.format }}{% endif %}('{% if map.url %}{{ map.url }}{% endif %}',{
|
|
11
|
+
attribution: 'Developed by <a href="https://lerryws.xyz/">wslerry</a> | {% if map.attribution %}{{ map.attribution }}{% endif %}'
|
|
7
12
|
});
|
|
13
|
+
{% endfor %}
|
|
14
|
+
|
|
15
|
+
{% for map in site.data.map_source.overlay %}
|
|
16
|
+
var {{% if map.id %}}{{ map.id }} = {% if map.format %}{{ map.format }}{% endif %}('{% if map.url %}{{ map.url }}{% endif %}',{
|
|
17
|
+
attribution: 'Developed by <a href="https://lerryws.xyz/">wslerry</a> | {% if map.attribution %}{{ map.attribution }}{% endif %}'
|
|
18
|
+
});
|
|
19
|
+
{% endfor %}
|
|
20
|
+
|
|
21
|
+
{% if site.data.map_config.map_bound == true %}
|
|
22
|
+
{% for map in site.data.map_config.param %}
|
|
23
|
+
var corner1 = L.latLng({{ map.y1 }}, {{ map.x1 }}),
|
|
24
|
+
corner2 = L.latLng({{ map.y2 }}, {{ map.x2 }});
|
|
25
|
+
var bounds = L.latLngBounds(corner1, corner2);
|
|
26
|
+
{% endfor %}
|
|
27
|
+
{% endif %}
|
|
8
28
|
|
|
9
29
|
{% for map in site.data.map_config.param %}
|
|
10
30
|
var coords = [{{ map.lat }}, {{ map.long }}]; // the geographic center of our map
|
|
11
31
|
var zoomLevel = {{ map.zoom }}; // the map scale
|
|
12
|
-
|
|
13
|
-
var map = L.map('map', {
|
|
14
|
-
center: coords,
|
|
15
|
-
zoom: zoomLevel,
|
|
16
|
-
maxZoom: {{ map.maxZoom }},
|
|
17
|
-
minZoom: {{ map.minZoom }},
|
|
18
|
-
layers: OSM
|
|
19
|
-
});
|
|
20
32
|
{% endfor %}
|
|
21
33
|
|
|
34
|
+
{% if site.data.map_config.map_bound == true %}
|
|
35
|
+
{% for map in site.data.map_config.param %}
|
|
36
|
+
var map = L.map('map', {
|
|
37
|
+
maxBounds: bounds,
|
|
38
|
+
center: coords,
|
|
39
|
+
zoom: zoomLevel,
|
|
40
|
+
maxZoom: {{ map.maxZoom }},
|
|
41
|
+
minZoom: {{ map.minZoom }},
|
|
42
|
+
layers: [{% for map in site.data.map_source.base %}{% if map.select == true %}{{map.id}}{% endif %}{% endfor %},
|
|
43
|
+
{% for map in site.data.map_source.overlay %}{% if map.select == true %}{{map.id}}{% endif %}{% endfor %}]
|
|
44
|
+
});
|
|
45
|
+
{% endfor %}
|
|
46
|
+
{% else %}
|
|
47
|
+
{% for map in site.data.map_config.param %}
|
|
48
|
+
var map = L.map('map', {
|
|
49
|
+
center: coords,
|
|
50
|
+
zoom: zoomLevel,
|
|
51
|
+
maxZoom: {{ map.maxZoom }},
|
|
52
|
+
minZoom: {{ map.minZoom }},
|
|
53
|
+
layers: [{% for map in site.data.map_source.base %}{% if map.select == true %}{{map.id}}{% endif %}{% endfor %},
|
|
54
|
+
{% for map in site.data.map_source.overlay %}{% if map.select == true %}{{map.id}}{% endif %}{% endfor %}]
|
|
55
|
+
});
|
|
56
|
+
{% endfor %}
|
|
57
|
+
{% endif %}
|
|
58
|
+
|
|
59
|
+
|
|
22
60
|
// load basemap
|
|
23
61
|
var baseMaps = {
|
|
24
|
-
|
|
62
|
+
{% for map in site.data.map_source.base %}
|
|
63
|
+
"{% if map.name %}{{ map.name }}{% endif %}": {% if map.id %}{{ map.id }}{% endif %},
|
|
64
|
+
{% endfor %}
|
|
25
65
|
};
|
|
26
66
|
|
|
27
67
|
// configuration for point data
|
|
@@ -113,11 +153,28 @@
|
|
|
113
153
|
d > 4000 ? '#FED976' :
|
|
114
154
|
'#FFEDA0';
|
|
115
155
|
}
|
|
156
|
+
|
|
157
|
+
// // configuration for polygon data
|
|
158
|
+
// function getColor(d) {
|
|
159
|
+
// // d should be between 0 and 1
|
|
160
|
+
// //
|
|
161
|
+
// // 6 scale blues
|
|
162
|
+
// var blue = ['rgb(239,243,255)',
|
|
163
|
+
// 'rgb(198,219,239)',
|
|
164
|
+
// 'rgb(158,202,225)',
|
|
165
|
+
// 'rgb(107,174,214)',
|
|
166
|
+
// 'rgb(49,130,189)',
|
|
167
|
+
// 'rgb(8,81,156)'
|
|
168
|
+
// ];
|
|
169
|
+
//
|
|
170
|
+
// return blue[Math.round(d*6)];
|
|
171
|
+
// }
|
|
172
|
+
|
|
116
173
|
{% for i in site.data.map_data.geojson.area %}
|
|
117
174
|
var {{i.name}}= L.geoJson(null, {
|
|
118
175
|
style: function (feature) {
|
|
119
176
|
return {
|
|
120
|
-
fillColor: getColor(feature.properties
|
|
177
|
+
fillColor: getColor(feature.properties['{{i.featID}}']),
|
|
121
178
|
weight: {{i.weight}},
|
|
122
179
|
opacity: {{i.opacity}},
|
|
123
180
|
color: "{{i.color}}",
|
|
@@ -141,6 +198,10 @@
|
|
|
141
198
|
|
|
142
199
|
// load overlay
|
|
143
200
|
var overlay = {
|
|
201
|
+
{% for map in site.data.map_source.overlay %}
|
|
202
|
+
"{% if map.name %}{{ map.name }}{% endif %}": {% if map.id %}{{ map.id }}{% endif %},
|
|
203
|
+
{% endfor %}
|
|
204
|
+
|
|
144
205
|
{% for i in site.data.map_data.geojson.point %}
|
|
145
206
|
"{{i.name}}": {{i.name}}_markerClusters,
|
|
146
207
|
{% endfor %}
|
data/_includes/navbar.html
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
<header>
|
|
2
2
|
<nav class="navbar navbar-expand-md navbar-light fixed-top bg-light">
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
<!-- <i class="fa fa-globe-asia fa-2x" aria-hidden="false"></i> -->
|
|
5
|
+
<!-- change this to your icon -->
|
|
6
|
+
<img width="50px" src="assets/icons/jekylleaf.png"/>
|
|
7
|
+
|
|
4
8
|
<br>
|
|
9
|
+
|
|
5
10
|
<a class="navbar-brand" href="#"> {{ site.title }} </a>
|
|
11
|
+
|
|
6
12
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
|
|
7
13
|
<span class="navbar-toggler-icon"></span>
|
|
8
14
|
</button>
|
|
15
|
+
|
|
9
16
|
<div class="collapse navbar-collapse" id="navbarCollapse">
|
|
10
17
|
<ul class="nav navbar-nav ml-auto">
|
|
11
18
|
<li class="nav-item" role="presentation">
|
|
@@ -19,5 +26,6 @@
|
|
|
19
26
|
</li>
|
|
20
27
|
</ul>
|
|
21
28
|
</div>
|
|
29
|
+
|
|
22
30
|
</nav>
|
|
23
31
|
</header>
|
data/_layouts/page.html
CHANGED
|
@@ -57,6 +57,15 @@ p, ul, ol, pre, blockquote {
|
|
|
57
57
|
background-color: $background-color;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
+
@media (min-width: 768px) {
|
|
61
|
+
.navbar img{
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
.navbar .fa{
|
|
65
|
+
display: none;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
60
69
|
@media (max-width: 768px) {
|
|
61
70
|
.navbar .navbar-brand{
|
|
62
71
|
font-size: 0;
|
|
@@ -80,7 +89,7 @@ p, ul, ol, pre, blockquote {
|
|
|
80
89
|
// .beautify-marker {
|
|
81
90
|
// text-align: center;
|
|
82
91
|
// font-weight: 700;
|
|
83
|
-
// font-family:
|
|
92
|
+
// font-family: sans-serif;
|
|
84
93
|
// position: absolute;
|
|
85
94
|
// -webkit-box-sizing: border-box;
|
|
86
95
|
// -moz-box-sizing: border-box;
|
|
@@ -102,7 +111,7 @@ p, ul, ol, pre, blockquote {
|
|
|
102
111
|
// }
|
|
103
112
|
// }
|
|
104
113
|
|
|
105
|
-
|
|
114
|
+
//* Leaflet *//
|
|
106
115
|
|
|
107
116
|
.leaflet-top .leaflet-control {
|
|
108
117
|
margin-top: 24px;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"name":"","short_name":"","icons":[{"src":"android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
data/index.md
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: web-mapping-leaflet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- wslerry
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-08-
|
|
11
|
+
date: 2020-08-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -24,6 +24,76 @@ dependencies:
|
|
|
24
24
|
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '3.8'
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: jekyll-feed
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - "~>"
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0.1'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - "~>"
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0.1'
|
|
41
|
+
- !ruby/object:Gem::Dependency
|
|
42
|
+
name: jekyll-seo-tag
|
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
|
44
|
+
requirements:
|
|
45
|
+
- - "~>"
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '2.6'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - "~>"
|
|
53
|
+
- !ruby/object:Gem::Version
|
|
54
|
+
version: '2.6'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: jekyll-include-cache
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - "~>"
|
|
60
|
+
- !ruby/object:Gem::Version
|
|
61
|
+
version: 0.2.0
|
|
62
|
+
type: :runtime
|
|
63
|
+
prerelease: false
|
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
+
requirements:
|
|
66
|
+
- - "~>"
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: 0.2.0
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: kramdown-parser-gfm
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
74
|
+
- !ruby/object:Gem::Version
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :runtime
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: '0'
|
|
83
|
+
- !ruby/object:Gem::Dependency
|
|
84
|
+
name: wdm
|
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: 0.1.0
|
|
90
|
+
type: :runtime
|
|
91
|
+
prerelease: false
|
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
+
requirements:
|
|
94
|
+
- - "~>"
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: 0.1.0
|
|
27
97
|
- !ruby/object:Gem::Dependency
|
|
28
98
|
name: bundler
|
|
29
99
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -54,15 +124,17 @@ dependencies:
|
|
|
54
124
|
version: '12.0'
|
|
55
125
|
description:
|
|
56
126
|
email:
|
|
57
|
-
-
|
|
127
|
+
- wslerry2@hotmail.com
|
|
58
128
|
executables: []
|
|
59
129
|
extensions: []
|
|
60
130
|
extra_rdoc_files: []
|
|
61
131
|
files:
|
|
62
132
|
- LICENSE.txt
|
|
63
133
|
- README.md
|
|
134
|
+
- _config.yml
|
|
64
135
|
- _data/about.yml
|
|
65
136
|
- _data/legends.yml
|
|
137
|
+
- _data/libs.yml
|
|
66
138
|
- _data/map_config.yml
|
|
67
139
|
- _data/map_data.yml
|
|
68
140
|
- _data/map_source.yml
|
|
@@ -85,6 +157,13 @@ files:
|
|
|
85
157
|
- assets/css/images/fullscreen.png
|
|
86
158
|
- assets/css/images/fullscreen@2x.png
|
|
87
159
|
- assets/css/main.scss
|
|
160
|
+
- assets/icons/android-chrome-192x192.png
|
|
161
|
+
- assets/icons/android-chrome-512x512.png
|
|
162
|
+
- assets/icons/apple-touch-icon.png
|
|
163
|
+
- assets/icons/favicon-16x16.png
|
|
164
|
+
- assets/icons/favicon-32x32.png
|
|
165
|
+
- assets/icons/jekylleaf.png
|
|
166
|
+
- assets/icons/site.webmanifest
|
|
88
167
|
- assets/js/leaflet-beautify-marker-icon.js
|
|
89
168
|
- assets/polyline.geojson
|
|
90
169
|
- assets/random.geojson
|