Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLLocationCoordinate Class Reference

Section Contents

Overview

Describes a coordinate on earth

-initWithLatitudeDegrees:longitudeDegrees:

Convenience init for location coordinates

Objective-C

- (nonnull instancetype)initWithLatitudeDegrees:(float)latitudeDegrees
                               longitudeDegrees:(float)longitudeDegrees;

Swift

init(latitudeDegrees: Float, longitudeDegrees: Float)

Parameters

latitudeDegrees

Latitude of the location

longitudeDegrees

Latitude of the location

Return Value

A SDLLocationCoordinate object

latitudeDegrees

Latitude of the location

Required, Double -90 - 90

Objective-C

@property (readwrite, copy, nonatomic)
    NSNumber<SDLFloat> *_Nonnull latitudeDegrees;

Swift

@NSCopying var latitudeDegrees: NSNumber & SDLFloat { get set }

longitudeDegrees

Latitude of the location

Required, Double -180 - 180

Objective-C

@property (readwrite, copy, nonatomic)
    NSNumber<SDLFloat> *_Nonnull longitudeDegrees;

Swift

@NSCopying var longitudeDegrees: NSNumber & SDLFloat { get set }
View on GitHub.com
Previous Section Next Section