MKLocalPointsOfInterestRequest
A structured request to use when searching for points of interest.
Declaration
class MKLocalPointsOfInterestRequestOverview
You create an MKLocalPointsOfInterestRequest to fetch points of interest within a rectangular bounding box or circular area.
To leverage the phone’s viewport to request points of interest, create a request with a rectangular bounding box using an MKCoordinateRegion. The request fetches points of interest within the rectangular region.
To retrieve points of interest nearby or “around the user,” create a request with a circular area defined by CLLocationCoordinate2D and a CLLocationDistance in meters. The fetch returns points of interest up to the maximum distance defined by maxRadius.
You may optionally specifying an MKPointOfInterestFilter describing categories to include or exclude. The default behavior of the fetch returns all points of interest.