Sometimes, the marker is not visible on hover, but it appears when I slightly zoom in or out or on camera-change. I have a marker as pin with a medium rank, and on hover, I’m adding a new marker at the same lat-long with an always-visible rank. How can I ensure the marker remains consistently visible during hover? I am expecting like below image.
Hi there!
medium
rank will display/hide the marker in certain situations.
If you’re looking to overlap the markers, you can assign always-visible
to both, or
If you wanted to keep the medium
rank you can:
- On hover, update the state to
always-visible
- Add new marker on top with
always-visible
- Off hover, reset rank back to
medium
Let me know if that helps!
Sometimes, when adding a marker, the transform: translate3d(...)
attribute is missing, causing the marker to be invisible. When any camera change activity occurs, the transform: translate3d(...)
attribute is applied correctly again, making the marker visible.
Can you confirm if this is happening when it’s set to always-visible
or are you using medium
rank?
I have added two markers. The first marker is an icon with a medium rank. When hovering over the first marker, a second marker appears as a label with a rank that is always visible. However, sometimes the transform: translate3d(...)
style is missing from the second marker. When any camera movement occurs, the transform: translate3d(...)
attribute is applied correctly again, making the second marker visible.