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

public class SimpleStyleProperties extends Properties
Simple styles to customize how map features are displayed.

See also Style GeoJSON Visualization

See Also:
  • Constructor Details

    • SimpleStyleProperties

      public SimpleStyleProperties()
  • Method Details

    • add

      public SimpleStyleProperties add(String name, Object value)
      Overrides:
      add in class Properties
    • description

      public SimpleStyleProperties description(String description)
      A tooltip description. Can contain HTML.
    • fill

      public SimpleStyleProperties fill(Color color)
      The color of a "Polygon/MultiPolygon".
    • fillOpacity

      public SimpleStyleProperties fillOpacity(double opacity)
      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

      public SimpleStyleProperties markerColor(Color color)
      The color of a marker for a "Point/MultiPoint".
    • markerSize

      public SimpleStyleProperties markerSize(String size)
      The size of a marker for a "Point/MultiPoint".

      Parameters:
      size - must be one of: "small", "medium", "large".
    • markerSymbol

      public SimpleStyleProperties markerSymbol(String symbol)
      A short name of a marker image for a "Point/MultiPoint".
    • stroke

      public SimpleStyleProperties stroke(Color color)
      A color for "LineString/MultiLineString" and "Polygon/MultiPolygon" outlines.
    • strokeOpacity

      public SimpleStyleProperties strokeOpacity(double opacity)
      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

      public SimpleStyleProperties strokeWidth(double width)
      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

      public SimpleStyleProperties title(String title)
      A tooltip title.