PointDataBuilder
public class PointDataBuilder
extension PointDataBuilder: NativeBase
extension PointDataBuilder: Hashable
Builder of PointData instances.
Note: This is a beta release of this feature, so there could be a few bugs and unexpected behavior. Related APIs may change for new releases without a deprecation process.
-
Creates a builder instance.
Declaration
Swift
public init() -
Configures the builder with geodetic coordinates for point to be created.
Declaration
Swift
public func withCoordinates(_ coordinates: GeoCoordinates) -> PointDataBuilderParameters
coordinatesGeodetic coordinates of the point. Altitude of coordinates is ignored.
Return Value
The builder.
-
Configures the builder with custom attributes for point to be created.
Declaration
Swift
public func withAttributes(_ attributes: DataAttributes) -> PointDataBuilderParameters
attributesCustom data attributes to be associated with the point.
Return Value
The builder.