aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2018-01-05 01:31:10 +0100
committerJonas Smedegaard <dr@jones.dk>2018-01-05 01:31:10 +0100
commit3b20eb33a90ddf5f492ef70980306a98101d3675 (patch)
treee3be3265c4c95bb54ad9b124c77e1805c24a4861
parent5471216cac01d8d4a605ae890d066c9a7589bd55 (diff)
Fix marker visibility.
-rw-r--r--src/js/app/places.js4
-rw-r--r--src/js/world-staff.js2
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([