Skip to content

Commit

Permalink
uses leaflet path method to set color so that it will update when gro…
Browse files Browse the repository at this point in the history
…up is not re drawn closes 1319
  • Loading branch information
MuchQuak committed May 17, 2024
1 parent 5b15271 commit 55c81c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collections/map/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ class LeafletMapGroup {
if(marker.options.icon && marker.options.icon.options.observation) {
marker.setIcon(getObservationSvg({color: `#${color}`, size:30 }))
} else {
marker.options.fillColor =`#${color}`
marker.setStyle({fillColor: `#${color}`})
}
}
}
Expand Down

0 comments on commit 55c81c6

Please sign in to comment.