views:

56

answers:

1

I want to check whether iphone is in a particular region and the region coordinates I am getting from web.On web region is a polygon, but as CLregion has only one fuction i.e. initCircularRegion, how can i convert that points of polygon region to get a circular region for which I can do monitoring, or is there any other method by which i can Know whether i am in a particular polygon region.

A: 

Method for checking geolocation point in a polygon region can be found at

http://od-eon.com/blogs/tudor/geo-location-point-inside-area/

logic can be converted for objective-c Checked and found it correct

Iphone_bharat