SKNearbySearchSettings* searchObject = [SKNearbySearchSettings nearbySearchSettings];
searchObject.coordinate = CLLocationCoordinate2DMake(currentLocation.coordinate.latitude, currentLocation.coordinate.longitude);
searchObject.searchTerm=@""; //search for all POIs
searchObject.radius = 5000;
searchObject.searchMode=SKSearchHybrid;
searchObject.searchResultSortType=SKProximitySort;
searchObject.searchCategories = @[ @(SKPOICategoryHospital)];
[[SKSearchService sharedInstance] setSearchResultsNumber:10000];
[[SKSearchService sharedInstance]startNearbySearchWithSettings:searchObject];
Use this code for finding nearby hospitals.
0
solved iOS: How to show nearby hospitals in skobbler maps?