ios - Find out which type of area you are in from MKMapView -
is there way determine type of area in mkmapview? i.e. if centre of map in ocean can tell user: centre of map above ocean, or if map centred above green area: centre of map above parkland...
the way can think of create screenshot of visible screen , analyse colour of each bit using method such this: ios -- detect color of pixel?
however interested know if there easier way can think of!
edit
to make more clear i'm looking for, i'm looking way turn section of map top down level game, different areas determined areas of map...
a clplacemark
has couple of properties: inlandwater
, ocean
tell when placemark in water. think can placemark geocoder.
it has areasofinterest
give parks , landmarks.
Comments
Post a Comment