using code
const layeroptions = { sanitizer: () => null, pointtolayer: ({ properties: { type, status } }, pos) => { if (type === "city") { type = "city" } let iconurl = `img/pin-${type}` if (status) { iconurl += `-${status}` } iconurl += ".png" const icon = l.icon({ iconurl, iconsize: [48,48], iconanchor: [24, 48], }) return l.marker(pos, { icon }) }, } this.itemlayer = l.mapbox.featurelayer(items, layeroptions).addto(this.map)
and zoomend
listener on map marker icons flicker changing z-order when map pinch-zoomed. happens on mobile devices (android), not on desktop.
any ideas might cause this?