Describes a location, including its coordinate, name, etc. Used in WayPoints.
Convenience init for location coordinate.
- (nonnull instancetype)initWithCoordinate:
(nonnull SDLLocationCoordinate *)coordinate;
init(coordinate: SDLLocationCoordinate)
Latitude/Longitude of the location
A SDLLocationDetails object
Convenience init for all parameters.
- (nonnull instancetype)
initWithCoordinate:(nonnull SDLLocationCoordinate *)coordinate
locationName:(nullable NSString *)locationName
addressLines:(nullable NSArray<NSString *> *)addressLines
locationDescription:(nullable NSString *)locationDescription
phoneNumber:(nullable NSString *)phoneNumber
locationImage:(nullable SDLImage *)locationImage
searchAddress:(nullable SDLOasisAddress *)searchAddress;
convenience init(coordinate: SDLLocationCoordinate, locationName: String?, addressLines: [String]?, locationDescription: String?, phoneNumber: String?, locationImage: SDLImage?, search searchAddress: SDLOasisAddress?)
Latitude/Longitude of the location
Name of location
Location address for display purposes only
Description intended location / establishment
Phone number of location / establishment
Image / icon of intended location
Address to be used by navigation engines for search
A SDLLocationDetails object
Latitude/Longitude of the location
See
SDLLocationCoordinateOptional
@property (nonatomic, strong, nullable) SDLLocationCoordinate *coordinate;
var coordinate: SDLLocationCoordinate? { get set }
Name of location.
Optional, Max length 500 chars
@property (nonatomic, copy, nullable) NSString *locationName;
var locationName: String? { get set }
Location address for display purposes only.
Optional, Array of Strings, Array length 0 - 4, Max String length 500
@property (nonatomic, copy, nullable) NSArray<NSString *> *addressLines;
var addressLines: [String]? { get set }
Description intended location / establishment.
Optional, Max length 500 chars
@property (nonatomic, copy, nullable) NSString *locationDescription;
var locationDescription: String? { get set }
Phone number of location / establishment.
Optional, Max length 500 chars
@property (nonatomic, copy, nullable) NSString *phoneNumber;
var phoneNumber: String? { get set }
Image / icon of intended location.
See
SDLImageOptional
@property (nonatomic, strong, nullable) SDLImage *locationImage;
var locationImage: SDLImage? { get set }
Address to be used by navigation engines for search.
See
SDLOASISAddressOptional
@property (nonatomic, strong, nullable) SDLOasisAddress *searchAddress;
var searchAddress: SDLOasisAddress? { get set }