Xamarin.Forms.Maps - any way to access list of objects already drawn on map?

I've customised the following sample to draw an image instead of a pin where the user is right now

https://docs.microsoft.com/en-gb/xamarin/xamarin-forms/app-fundamentals/custom-renderer/map/polyline-map-overlay

Problem I've got is even though it's bound to an observable collection, the image gets duplicated at the new location

So, overlaying the map I've got a set of icons, mostly pins, with one image

Is it possible to access the list of what's been drawn so I can remove the older one before adding the new one?

Tried all sorts of ways to try and achieve this, so far without success

Tagged:
Sign In or Register to comment.