jekyll-leaflet-mze 0.3.21 → 0.3.22

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: 3a7f648578847c2bd65e1ea2b4625604c4fcb7331299f992064260f395ffbc4d
4
- data.tar.gz: 38c751f34e5172b1665cb31344e4db3c688e17badbe60cd773a0f80324d23de8
3
+ metadata.gz: e79835e51b649f9e8e712608e07d72a6d13e1752c357b3a586464c7b47883287
4
+ data.tar.gz: b01dea680782c61433d0cbd22dcf96004de92f0a9ab8c5f80a7a957c10a19872
5
5
  SHA512:
6
- metadata.gz: 66f7d62c5183424bcfad497942b07fda1d2f82efd3b2e490e02216fda0f107c0fb42951a8365c8dcb9f34e88de0a76e54b1d226d7f66ef685ddb512c41739ab1
7
- data.tar.gz: 8f01e1f40e382286abf3e19f14dd6e3e04e7031e62b17121057d04ff7c42508d47f53513e4f0dd604bb7db8b7b855f5ab197f99a8b302962c69866b7d11c2d20
6
+ metadata.gz: cb27e0f4dde2db80346080fbf4185c2791ae9ad1a6a5beabdc407fb8a80f973adca81931a01986dcc6d133447b9db5ace5f9956e7b65beae6bec04e0bfaa17fb
7
+ data.tar.gz: b180ac42b01fca2979e28e27e9ab991da8652ae1d6641a43eab4d7f42ebc9e5e85055eff3e1c70e3eab3f6a5ec09cce253bc47c487de96273dd2a2efa9475da6
@@ -9,7 +9,7 @@
9
9
 
10
10
  // Override the map div id if specified, apply default CSS
11
11
  var defaultMapElId = "leaflet-map-%{id}";
12
- var defaultMapElStyle = "height:500px; margin-top:15px; margin-bottom:15px";
12
+ var defaultMapElStyle = "height:700px; margin-top:15px; margin-bottom:15px";
13
13
  var mapEl = document.getElementById(defaultMapElId);
14
14
  if('divId' in tagInputArg){
15
15
  mapEl.id = tagInputArg['divId'];
@@ -20,6 +20,8 @@
20
20
  document.head.appendChild(defaultMapCssEl);
21
21
 
22
22
  var newWindowImgSrcBase64 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAB3RJTUUH4wUVFzAHq2j99AAAAV9JREFUSMdjYKAxYCRHk5ubG9+1a9fm/v//H6cadnb2G/fu3atlIceC379/c3z9+jUEn5q/f/8eYWBgYECxQE5OroqA2Y8ePXq0hJWV9Qc3N/caZB8wMjJKff361QpvEAkKCv4nYMGh9+/f26MLamhoyLx9+3b/nz9/VJCC6MiLFy9sWXCE3xlGRsZvWKQu4DOciYnpCzc396HPnz97weRxWRD/8OHDa4TiAt1wfn5+z79//zoxMDDALWAiN/lhM/zevXtH0NUx0dJwsiwgxXCccUCJ4dzc3DP+//+/gZ2d/duLFy9Is+Djx4+rCbn82rVrrxgYGF6RFUR8fHyZbGxsD7AZLiEhUSAiIrJSUlIyjOw4uHnz5gVHR0d1bC7/8+eP5d+/f8P+/PmjS1Ekr1ix4hcp6ploXVwPfQuwJlMmJiYBLS0tIVIMev36NRvRFnz48OHohw8fhkYQjQKCAAChiL6Pj/LM2QAAAABJRU5ErkJggg==";
23
+ var iconUrl = "/assets/images/music-map/music-icon.png"
24
+ var iconSizePixels = [48, 48]
23
25
  // Actual mapping section; Specify a function to be called later that
24
26
  // assembles the correct JS components based on what the user specified in the
25
27
  // tag input arg, the block section of features, etc. Actually creates the map
@@ -56,8 +58,8 @@
56
58
  function _addMarkerToMap(leafletItem, map){
57
59
  var m = leafletItem.value;
58
60
  var musicIcon = L.icon({
59
- iconUrl: '/assets/images/music-map/music-icon.png',
60
- iconSize: [48, 48]
61
+ iconUrl: iconUrl,
62
+ iconSize: iconSizePixels
61
63
  });
62
64
  var result = L.marker([m.latitude, m.longitude], {icon: musicIcon}).addTo(map);
63
65
  var potentialPopup = "";
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.3.21
4
+ version: 0.3.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Vitale