aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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([