Search code examples
iphonexcodemkmapviewregion

How to compare two different map-view regions and find difference between them


Hi Guys I am Developing Map-view Base app. I Have almost done everything with map-view but I unable to compare two different map-view regions and find new area of map-view. For example, if the user drags the map, I want to find how much the region has changed.


Solution

  • This answer shows you how to compare two map points. You could use this on the centre of your map regions: link.