Skip to content

Commit f02bd89

Browse files
committed
fixes
1 parent 568517e commit f02bd89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparqlunicorn_ontdoc/resources/html/default/js/startscripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ function restyleLayer(propertyName,geojsonLayer) {
16291629
console.log(layerr)
16301630
layerr.setStyle(function(layer) {
16311631
thecolor=getColor(layer.feature, propertyName, propertyValue, rangesByAttribute)
1632-
if( layer instanceof L.Marker ) {
1632+
if( layer.options.alt=="Marker" ) {
16331633
console.log("Update marker with color "+thecolor)
16341634
layer.setIcon(L.divIcon({
16351635
className: "my-custom-pin",

0 commit comments

Comments
 (0)