Class PointDataBuilder
Package com.here.sdk.mapview.datasource
Class PointDataBuilder
- java.lang.Object
-
- com.here.NativeBase
-
- com.here.sdk.mapview.datasource.PointDataBuilder
-
public final class PointDataBuilder extends NativeBase
Builder of
PointDatainstances.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.
-
-
Constructor Summary
Constructors Constructor Description PointDataBuilder()Creates a builder instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PointDatabuild()Builds an instance ofPointDataand resets the builder instance.PointDataBuilderwithAttributes(DataAttributes attributes)Configures the builder with custom attributes for point to be created.PointDataBuilderwithCoordinates(GeoCoordinates coordinates)Configures the builder with geodetic coordinates for point to be created.
-
-
-
Method Detail
-
withCoordinates
@NonNull public PointDataBuilder withCoordinates(@NonNull GeoCoordinates coordinates)
Configures the builder with geodetic coordinates for point to be created.
- Parameters:
coordinates-Geodetic coordinates of the point. Altitude of coordinates is ignored.
- Returns:
The builder.
-
withAttributes
@NonNull public PointDataBuilder withAttributes(@NonNull DataAttributes attributes)
Configures the builder with custom attributes for point to be created.
- Parameters:
attributes-Custom data attributes to be associated with the point.
- Returns:
The builder.
-
-