diff options
author | Jonas Smedegaard <dr@jones.dk> | 2018-01-05 01:31:10 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2018-01-05 01:31:10 +0100 |
commit | 3b20eb33a90ddf5f492ef70980306a98101d3675 (patch) | |
tree | e3be3265c4c95bb54ad9b124c77e1805c24a4861 /src | |
parent | 5471216cac01d8d4a605ae890d066c9a7589bd55 (diff) |
Fix marker visibility.
Diffstat (limited to 'src')
-rw-r--r-- | src/js/app/places.js | 4 | ||||
-rw-r--r-- | src/js/world-staff.js | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/js/app/places.js b/src/js/app/places.js index 5ed04d0..292bf45 100644 --- a/src/js/app/places.js +++ b/src/js/app/places.js @@ -2,9 +2,7 @@ define(['leaflet'], function(L) { // GeoJSON feature grouping function returnMarker(feature, latlng) { - var marker = new L.marker( - latlng, - { opacity: 0.01 }); + var marker = new L.marker(latlng); // bindTooltip was introduced in LeafletJS 1.0. try { marker.bindTooltip( diff --git a/src/js/world-staff.js b/src/js/world-staff.js index 618c2fd..f602515 100644 --- a/src/js/world-staff.js +++ b/src/js/world-staff.js @@ -3,7 +3,7 @@ requirejs(['./slippymap'], function(_foo) { requirejs.config({ baseUrl: '../../js/lib', }); - L.Icon.Default.imagePath = '../../img/leaflet'; + L.Icon.Default.imagePath = '../../img/leaflet/'; requirejs(['app/mapfactory'], function(mkmap) { var map = mkmap('content'); requirejs([ |