MKTransitStopsSearchRequest and MKTransitStopsSearch

Originator:futuretap
Number:rdar://30420150 Date Originated:08-Feb-2017 03:57 PM
Status:Duplicate/30397188/Open Resolved:
Product:iOS + SDK Product Version:10.2
Classification:Enhancement Reproducible:Always
 
This is a duplicate of rdar://30397188

We need a way to search for transit stops within a certain region.

MKTransitStopsSearchRequest should, like MKLocalSearchRequest, take a region. It should also take a property of transitModes, which should be an MKDirectionsTransportSubtype (see radar 30395156).

When the search is performed, via MKTransitStopsSearch, the completion block should be called with all the transit stops that exist inside the region that are served by that mode of transport. (Transit stops should be MKMapItems — see radar 30397022).

If the desired region is too big, an error should be returned.

Note that this API should be exhaustive — if you query a certain region, it should guarantee to return either every matching transit stop in the region, or an error.

(This radar is part of a series of radars describing the API improvements to MapKit that I would need in order to power my app, UK Transport, solely using MapKit's APIs.)

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!