web-mapping-leaflet 0.1.4 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c83db9ab4e3467c0f8a1b04a59718f5cc6c6da73f8a099d28ad4c919674b90e7
4
- data.tar.gz: c7447878cf6125db4f9028f1e82cc18792f6c249267b5fdbf36bf1a47ff8f6a1
3
+ metadata.gz: 0b9f70b475b44b0c6e3f51953a26f6b44096e30f58517e21c0992b269f9fc5f3
4
+ data.tar.gz: dc619e4ae24c820926dd457ddd955c5affa4eebf50fd5ae1e737abb675773d8f
5
5
  SHA512:
6
- metadata.gz: e77733808fd7960be10811a9912694871af5ee4ba44e479cfbaf5b0b20ab20917c3b673e5d12b868d88a98b8b7a880f66947e94d82b52ab3d49162e7a632426e
7
- data.tar.gz: abebb01208d431b76f399516cbd56a26f07b25db44b446d4e71607e1e51884831a0c052dfa98fb03127e8d4a6d9413266ef00b837d942d61e7cdea1ab7e880d8
6
+ metadata.gz: 599fced62c088ca80d58c1138d1a5578332de4ab00b6d0ad7441e0a919b9bec199d8b4760a30eb53856b858702af56bbae46d258322372b3d63364417975c331
7
+ data.tar.gz: 742845dc78d4c0c43817fd6f288d84fedb68f8b1f19fe98e12ceacd37dd0011c1bffb8e8fe279c6f6351b7c961f452fb1122b26bdd0bf10091dba82315a4f031
@@ -0,0 +1,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 :)
@@ -0,0 +1,7 @@
1
+ description:
2
+ - Put your map legends or any map description here or do whatever you want.
3
+
4
+ # TODO: legend .svg or .png
5
+ # display png or svg legeds
6
+ # legend:
7
+ # - path to svg or png
@@ -8,7 +8,7 @@
8
8
  </button>
9
9
  </div>
10
10
  <div class="modal-body">
11
- {{ site.description }}
11
+ {{ site.data.about.description }}
12
12
  </div>
13
13
  <div class="modal-footer">
14
14
  <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
@@ -2,13 +2,13 @@
2
2
  <div class="modal-dialog" role="document">
3
3
  <div class="modal-content">
4
4
  <div class="modal-header">
5
- <h5 class="modal-title" id="exampleModalLabel">About</h5>
5
+ <h5 class="modal-title" id="exampleModalLabel">Legends</h5>
6
6
  <button type="button" class="close" data-dismiss="modal" aria-label="Close">
7
7
  <span aria-hidden="true">&times;</span>
8
8
  </button>
9
9
  </div>
10
10
  <div class="modal-body">
11
- Legends goes here...
11
+ {{ site.data.legends.description }}
12
12
  </div>
13
13
  <div class="modal-footer">
14
14
  <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
@@ -1,7 +1,8 @@
1
1
  <header>
2
2
  <nav class="navbar navbar-expand-md navbar-light fixed-top bg-light">
3
3
  <i class="fa fa-globe-asia fa-2x" aria-hidden="true"></i>
4
- <a class="navbar-brand" href="#">{{ site.title }}</a>
4
+ <br>
5
+ <a class="navbar-brand" href="#"> {{ site.title }} </a>
5
6
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
6
7
  <span class="navbar-toggler-icon"></span>
7
8
  </button>
@@ -33,6 +33,11 @@ p, ul, ol, pre, blockquote {
33
33
  margin-bottom: 1em;
34
34
  }
35
35
 
36
+ // .navbar {
37
+ // padding: inherit;
38
+ // overflow: hidden;
39
+ // }
40
+
36
41
  .navbar .navbar-light {
37
42
  max-height: 50px;
38
43
  }
@@ -41,8 +46,9 @@ p, ul, ol, pre, blockquote {
41
46
  font-size: 15px !important;
42
47
  }
43
48
 
44
-
45
49
  .navbar-light .navbar-brand {
50
+ padding-right: 10px;
51
+ padding-left: 10px;
46
52
  font-weight: bold;
47
53
  text-transform: uppercase;
48
54
  }
@@ -51,6 +57,12 @@ p, ul, ol, pre, blockquote {
51
57
  background-color: $background-color;
52
58
  }
53
59
 
60
+ @media (max-width: 768px) {
61
+ .navbar .navbar-brand{
62
+ font-size: 0;
63
+ }
64
+ }
65
+
54
66
  .footer {
55
67
  background-color: $background-color;
56
68
  }
@@ -89,3 +101,9 @@ p, ul, ol, pre, blockquote {
89
101
  // }
90
102
  // }
91
103
  // }
104
+
105
+ // Leaflet
106
+
107
+ .leaflet-top .leaflet-control {
108
+ margin-top: 24px;
109
+ }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: web-mapping-leaflet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - wslerry
@@ -61,6 +61,8 @@ extra_rdoc_files: []
61
61
  files:
62
62
  - LICENSE.txt
63
63
  - README.md
64
+ - _data/about.yml
65
+ - _data/legends.yml
64
66
  - _data/map_config.yml
65
67
  - _data/map_data.yml
66
68
  - _data/map_source.yml