How to find my markers if custom properties are being disallowed?


#1

Got this deprecation warning about custom properties on markers:

But I used just this to be able to find my own relevant markers with findMarkers:

Shouldn’t this method then be deprecated too? Am I to use marker layers instead?


#2

Yes, this is the preferred method for keeping track of your markers now.