question

SPPC-6191 avatar image
0 Votes"
SPPC-6191 asked RobCaplan edited

Xamarion iOS MapRenderer for Clustered Map

I have been trying to get my map to cluster items. It all works initially but when my map-region changes and then returns all my Custom Pins change to iOS Map default red pins, and are no longer able to cluster. I am using a nugget called ClusterKit and as I mentioned earlier the parts work initially but then looks like my public virtual MKAnnotationView GetViewForAnnotation(MKMapView mapView, IMKAnnotation annotation) is returning a MapKit.MKAnnotationWrapper as opposed to a CkCluster which would returns the first time the pins load. This Wrapper can't even be converted to my Custom Annotation which has all my properties and information needed.
I read that this used to be a common occurrence, but I'm not sure how to fix this or how to convert the MKAnnotationWrapper to a Custom Annotation aka (MyCustomAnnotation). I posted about it on StackOverflow and here is the link to my question,


dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SPPC-6191 As "ClusterKit" is a third party Nuget package, for the general questions and support, you can submit an issue on Github: hulab/ClusterKit.

0 Votes 0 ·

0 Answers