Pass dashArray property to leaflet (#74)

This commit is contained in:
Zafrir Ron 2019-03-03 00:28:51 +02:00 committed by Dave Conway-Jones
parent 923e8592aa
commit 4448a82330

View File

@ -931,6 +931,7 @@ function setMarker(data) {
opt.fillOpacity = data.fillOpacity || 0.2;
opt.clickable = (data.hasOwnProperty("clickable")) ? data.clickable : false;
opt.fill = (data.hasOwnProperty("fill")) ? data.fill : true;
if (data.hasOwnProperty("dashArray")) opt.dashArray = data.dashArray;
// Replace building
if (data.hasOwnProperty("building")) {