Class SimpleStyleProperties
java.lang.Object
com.here.platform.location.io.javadsl.geojson.Properties
com.here.platform.location.io.javadsl.geojson.SimpleStyleProperties
- All Implemented Interfaces:
Serializable
,scala.Serializable
Simple styles to customize how map features are displayed.
See also Style GeoJSON Visualization
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription
(String description) A tooltip description.The color of a "Polygon/MultiPolygon".fillOpacity
(double opacity) The opacity of the interior of "Polygon/MultiPolygon".markerColor
(Color color) The color of a marker for a "Point/MultiPoint".markerSize
(String size) The size of a marker for a "Point/MultiPoint".markerSymbol
(String symbol) A short name of a marker image for a "Point/MultiPoint".A color for "LineString/MultiLineString" and "Polygon/MultiPolygon" outlines.strokeOpacity
(double opacity) The opacity for "LineString/MultiLineString" and "Polygon/MultiPolygon" outlines.strokeWidth
(double width) The width of a "LineString/MultiLineString" or of a "Polygon/MultiPolygon" outlines.A tooltip title.Methods inherited from class com.here.platform.location.io.javadsl.geojson.Properties
addAll, asScala
-
Constructor Details
-
SimpleStyleProperties
public SimpleStyleProperties()
-
-
Method Details
-
add
- Overrides:
add
in classProperties
-
description
A tooltip description. Can contain HTML. -
fill
The color of a "Polygon/MultiPolygon". -
fillOpacity
The opacity of the interior of "Polygon/MultiPolygon".- Parameters:
opacity
- must be a floating point number greater than or equal to zero and less than or equal to one.
-
markerColor
The color of a marker for a "Point/MultiPoint". -
markerSize
The size of a marker for a "Point/MultiPoint".- Parameters:
size
- must be one of: "small", "medium", "large".
-
markerSymbol
A short name of a marker image for a "Point/MultiPoint". -
stroke
A color for "LineString/MultiLineString" and "Polygon/MultiPolygon" outlines. -
strokeOpacity
The opacity for "LineString/MultiLineString" and "Polygon/MultiPolygon" outlines.- Parameters:
opacity
- must be a floating point number greater than or equal to zero and less than or equal to one.
-
strokeWidth
The width of a "LineString/MultiLineString" or of a "Polygon/MultiPolygon" outlines.- Parameters:
width
- must be a floating point number greater than or equal to zero.
-
title
A tooltip title.
-