mapkit-react icon indicating copy to clipboard operation
mapkit-react copied to clipboard

How to set the z-value for annotation?

Open parttiez opened this issue 7 months ago • 3 comments

I have a list of annotations that I want to set the orders. Clicking Annotation changes the Z-Value but how can I set the z-value from the beginning?

parttiez avatar Jun 05 '25 14:06 parttiez

If I remember correctly the markers are in the order of their mount time. In simple cases this will correspond to the order of the components in the DOM, have you tried to change this?

Nicolapps avatar Jun 05 '25 20:06 Nicolapps

I will try! But thank you for the great component. I am loving it! I am not really good in React but is there anything I can contribute to this package?

Again thank you so much for work :)

parttiez avatar Jun 06 '25 08:06 parttiez

Thanks! I don’t have significant changes I want to do to the package at the moment

Nicolapps avatar Jun 09 '25 00:06 Nicolapps