diff options
Diffstat (limited to 'src/js/app')
-rw-r--r-- | src/js/app/places.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/js/app/places.js b/src/js/app/places.js index 370bc95..d08955c 100644 --- a/src/js/app/places.js +++ b/src/js/app/places.js @@ -5,7 +5,13 @@ define([ // GeoJSON feature grouping function returnMarker(feature, latlng) { - var marker = new L.marker(latlng); +// var marker = new L.marker(latlng); + var marker = new L.CircleMarker(latlng,{ + color: 'green', + fillColor: 'rgba(110, 204, 57, 0.6)', + fillOpacity: '1', + }); +/* // bindTooltip was introduced in LeafletJS 1.0. try { marker.bindTooltip( @@ -16,6 +22,7 @@ define([ console.warn('tooltip skipped (using an old Leaflet?)'); } }; +*/ return marker; }; |