Location
open class Location : CoatyObject
Object model representing location information including geolocation according to W3C Geolocation API Specification.
This interface can be extended to allow additional attributes that provide other information about this position (e.g. street address, shop floor number, etc.).
-
Undocumented
Declaration
Swift
override open class var objectType: String { get }
-
Undocumented
Declaration
Swift
public var geoLocation: GeoLocation
-
Default initializer for a
Location
object.Declaration
Swift
public init(geoLocation: GeoLocation, name: String = "LocationObject", objectType: String = Location.objectType, objectId: CoatyUUID = .init())
-
Undocumented
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Undocumented
Declaration
Swift
open override func encode(to encoder: Encoder) throws