0

I have a Xamarin forms application that displays a map with multiple polygons on it.

Is there a way for a user to tap and drag to create a square on the map, and that will select all the polygons in that area?

Currently I use custom renders to create the polygons using Google Maps API2 for android and MapKit for iOS

Thanks,

  • What data structure do you use to store Polygons?Could you please post more details about your demo,e.g. a basic demo ? – Jessie Zhang -MSFT Dec 02 '19 at 10:10
  • I store all the polygons in a Dictionary and can access and change individual polygons easy enough via click events. It's just the bulk selecting I am struggling with. – Martin Dempsey Dec 04 '19 at 20:47
  • 1
    You need to judge if the Polygons is contained in square area.You can check the following thread: https://stackoverflow.com/questions/29766962/google-map-v2-check-whether-the-point-contains-in-area – Jessie Zhang -MSFT Dec 09 '19 at 10:03

0 Answers0