How to do freehand drawing in Google Maps on iOS?

后端 未结 3 561
遥遥无期
遥遥无期 2020-12-18 07:59

In drawing application we can identify when the user is starting to draw and moving the finger to make a line/shape. I\'m trying to do the same on a map, how can I do this?<

3条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-18 08:51

    Map Kit Polyline or Polygon Drawing - https://github.com/tazihosniomar/MapKitDrawing

    This link contains demo project for drawing polygons on Apple Map. But, logic remains the same for Google Map View. So, you can copy implementation logic from this and apply it on Google Map.

    I hope this will help you.

提交回复
热议问题