Class providing reverse search functions for location data.
More...
#import <SYReverseSearch.h>
|
| (void) | - reverseSearchWithCoordinate:withCompletion: |
| | Invokes an asynchronous request to match a location on the world map. SYSearchResults is returned in SYReverseSearchDelegate::search:didFinishReverseSearchingForCoordinate:withResults: delegate function. This function search also walkways by default. More...
|
| |
| (void) | - reverseSearchWithCoordinate:withFilter:withCompletion: |
| | Invokes an asynchronous request to match a location on the world map. SYSearchResults is returned in SYReverseSearchDelegate::search:didFinishReverseSearchingForCoordinate:withResults: delegate function. More...
|
| |
| (void) | - getTimeZoneAtLocation:atTime:completion: |
| | Asynchronously returns time zone (in seconds from GMT) at specific location and time (result may differ for summer/winter time). The coordinate must be inside of maps already installed by SYMapInstaller, otherwise it will finish with error. It's recommended to use the result for creation of NSTimeZone object. More...
|
| |
Class providing reverse search functions for location data.
◆ reverseSearchWithCoordinate:withCompletion:
| - (void) reverseSearchWithCoordinate: |
|
(nonnull SYGeoCoordinate *) |
coordinate |
| withCompletion: |
|
("use reverseSearchWithCoordinate:withFilter:withCompletion instead.") |
__deprecated_msg |
|
|
| |
Invokes an asynchronous request to match a location on the world map. SYSearchResults is returned in SYReverseSearchDelegate::search:didFinishReverseSearchingForCoordinate:withResults: delegate function. This function search also walkways by default.
- Parameters
-
| coordinate | Object representing the location used to search for results on map |
◆ reverseSearchWithCoordinate:withFilter:withCompletion:
| - (void) reverseSearchWithCoordinate: |
|
(nonnull SYGeoCoordinate *) |
coordinate |
| withFilter: |
|
(nullable NSSet< NSNumber * > *) |
filter |
| withCompletion: |
|
(nonnull void(^)(NSArray< SYReverseSearchResult * > *_Nullable results, NSError *_Nullable state)) |
completion |
|
|
| |
Invokes an asynchronous request to match a location on the world map. SYSearchResults is returned in SYReverseSearchDelegate::search:didFinishReverseSearchingForCoordinate:withResults: delegate function.
- Parameters
-
| coordinate | Object representing the location used to search for results on map |
| filter | SYSearchFilter options for search results will remove all filter types from results |
◆ getTimeZoneAtLocation:atTime:completion:
| - (void) getTimeZoneAtLocation: |
|
(nonnull SYGeoCoordinate *) |
location |
| atTime: |
|
(nonnull NSDate *) |
time |
| completion: |
|
(nonnull SYReverseSearchGetTimeZoneCompletion) |
completion |
|
|
| |
Asynchronously returns time zone (in seconds from GMT) at specific location and time (result may differ for summer/winter time). The coordinate must be inside of maps already installed by SYMapInstaller, otherwise it will finish with error. It's recommended to use the result for creation of NSTimeZone object.
- Parameters
-
| location | GPS coordinate to get time zone for. |
| time | Time at which the time zone has to be evaluated. |
| completion | Completion block, result is NSNumber object containing integer value of seconds from GMT. |
The documentation for this class was generated from the following file: