forked from MapComplete/MapComplete
Fix performance, add 'isClosed' badge to shops
This commit is contained in:
parent
efd7631837
commit
a9dfce72a6
18 changed files with 334 additions and 124 deletions
|
@ -152,8 +152,16 @@ export class FilteredLayer {
|
|||
color: style.color
|
||||
});
|
||||
} else {
|
||||
style.icon.html.ListenTo(self.isDisplayed)
|
||||
marker = L.marker(latLng, {
|
||||
icon: L.divIcon(style.icon)
|
||||
icon: L.divIcon({
|
||||
html: style.icon.html.Render(),
|
||||
className: style.icon.className,
|
||||
iconAnchor: style.icon.iconAnchor,
|
||||
iconUrl: style.icon.iconUrl,
|
||||
popupAnchor: style.icon.popupAnchor,
|
||||
iconSize: style.icon.iconSize
|
||||
})
|
||||
});
|
||||
}
|
||||
return marker;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue