SYLocationExplorer Class Reference

#import <SYLocationExplorer.h>

Inheritance diagram for SYLocationExplorer:
Collaboration diagram for SYLocationExplorer:

Class Methods

(nonnull SYTask *) + exploreChargingStationsAtLocation:withProfile:withRoute:withCompletion:
 Explore charging stations around location compatible with ev profile. More...
 
(nonnull SYTask *) + exploreChargingStationsAtLocation:withProfile:withOptions:withCompletion:
 Explore charging stations around location compatible with ev profile. More...
 

Method Documentation

◆ exploreChargingStationsAtLocation:withProfile:withRoute:withCompletion:

+ (nonnull SYTask*) exploreChargingStationsAtLocation: (nonnull SYGeoCoordinate *)  position
withProfile: (nonnull SYEVProfile *)  profile
withRoute: (nonnull SYRoute *)  route
withCompletion: (nonnull void(^)(NSArray< SYChargingStationInfo * > *_Nullable stations, NSError *_Nullable error))  completion 

Explore charging stations around location compatible with ev profile.

Parameters
positionexplore this location
profileElectric vehicle profile
routeresults will be optimized to effectivelly reach destination
completionwith progress of exploration and data already analyzed

◆ exploreChargingStationsAtLocation:withProfile:withOptions:withCompletion:

+ (nonnull SYTask*) exploreChargingStationsAtLocation: (nonnull SYGeoCoordinate *)  position
withProfile: (nonnull SYEVProfile *)  profile
withOptions: (nonnull SYRoutingOptions *)  options
withCompletion: (nonnull void(^)(NSArray< SYChargingStationInfo * > *_Nullable stations, NSError *_Nullable error))  completion 

Explore charging stations around location compatible with ev profile.

Parameters
positionexplore this location
profileElectric vehicle profile
optionsrouting options used to calculate path to stations
completionwith progress of exploration and data already analyzed

The documentation for this class was generated from the following file: