The use case is that I want to lazy load icons (via Symbol Layer) on the map. These icons represent Road conditions like Potholes, etc.
I want the current location marker to be always above any Geometry I draw on the map, in this case icons.
I tried to achive that by adding my Symbol Layer first and then activating the Location Component, it worked fine but as soon as I change the style of the map, current location is again at the bottom.
I do add my Symbol Layer again inside after onDidFinishLoadingStyle callback.
Can anyone share any best practices/ solution for this?
The use case is that I want to lazy load icons (via Symbol Layer) on the map. These icons represent Road conditions like Potholes, etc.
I want the current location marker to be always above any Geometry I draw on the map, in this case icons.
I tried to achive that by adding my Symbol Layer first and then activating the Location Component, it worked fine but as soon as I change the style of the map, current location is again at the bottom. I do add my Symbol Layer again inside after onDidFinishLoadingStyle callback.
Can anyone share any best practices/ solution for this?