jekyll-leaflet-mze 0.4.1 → 0.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d81d9c0a64c5b17e721146ba42f4401639f83630fc254ddd32a84a23d0facb4e
4
- data.tar.gz: f09276733c19057b9499cd97f6ecdc9316aea50e4cde6c680f0a69c3addb67f2
3
+ metadata.gz: 329c869674ecb93513a682f9b61844338364530964a4dc132c97fcbef645f0f9
4
+ data.tar.gz: daf96cdb063289bf366c92909867df3f6a1549478044bb4e79f216e8bfd60f5d
5
5
  SHA512:
6
- metadata.gz: c2ca41e199d6a5240f2182c461241b8aecd37c08cc0c3902d9dea7a9c29c310ea1ff5672dae724f1c66502322eb64e583f9c1acd56d71a9c1fc459313e021f58
7
- data.tar.gz: 0fd3ee866e049f6f05fec49fba2b8c9dff3b48bff1a57cbcd27ada4f61c9dd27107b8cffe48b22b184b442ada4fa216062874bb7d06480b958cb74d9061a5a09
6
+ metadata.gz: f1dd3dc3b2a3fb05aa19a2577c8edfd1ca95e215e32fad862817a54e1ca86ca88434c751f7bc41de2f07c4088a424cd7fc3ef09aa7dfbaa6c49efc9c2128d310
7
+ data.tar.gz: bdd36f327ba2670bee5cd974db251ea1560b034e621a816ed7a5773ad01545fa11c94e4c0d9ad09fc2d9714afd51724420ec07ed03afba573cdd64d0bb63c6c6
@@ -70,8 +70,8 @@
70
70
  markersLayer.addLayer(marker);
71
71
 
72
72
  var potentialPopup = "";
73
- if('popupContent' in m){
74
- potentialPopup += '<ul>';
73
+ if('popupContent' in m){
74
+ potentialPopup += `<b>${m.city}</b><ul>`;
75
75
  m.popupContent.forEach(item => {
76
76
  potentialPopup += '<li>'
77
77
  potentialPopup += item.trim();
@@ -90,7 +90,7 @@
90
90
  }
91
91
  if('city' in m) {
92
92
  marker.bindTooltip(m.city + ' (' + m.popupContent.length + ')', {
93
- permanent: true,
93
+ permanent: false,
94
94
  direction: 'bottom',
95
95
  opacity: '0.95'
96
96
  })
@@ -272,6 +272,7 @@
272
272
  esriEl.src = esriLeafletCdn + "esri-leaflet.js";
273
273
  addToHeadIfNotLoaded(esriEl);
274
274
 
275
+
275
276
  var leafletSearchJsEl = document.createElement("script");
276
277
  leafletSearchJsEl.id = leafletSearchJsId;
277
278
  leafletSearchJsEl.src = leafletSearchCdn + "leaflet-search.min.js";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-leaflet-mze
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Vitale