-
- All Implemented Interfaces:
public final class GeoDataStyle extends Storable
Create new instance of style container.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classGeoDataStyle.Companion
-
Field Summary
Fields Modifier and Type Field Description private Stringidprivate Stringnameprivate BalloonStyleballoonStyleprivate IconStyleiconStyleprivate LabelStylelabelStyleprivate ListStylelistStyleprivate LineStylelineStyleprivate final StringiconStyleIconUrlprivate final Storablecopyprivate final ByteArrayasBytes
-
Constructor Summary
Constructors Constructor Description GeoDataStyle(String name)Create new instance of style container with defined name. GeoDataStyle()
-
Method Summary
Modifier and Type Method Description final StringgetId()ID in style tag. final UnitsetId(String id)ID in style tag. final StringgetName()name of the style. final UnitsetName(String name)name of the style. final BalloonStylegetBalloonStyle()Style for popup balloons. final UnitsetBalloonStyle(BalloonStyle balloonStyle)Style for popup balloons. final IconStylegetIconStyle()Style for icons. final UnitsetIconStyle(IconStyle iconStyle)Style for icons. final LabelStylegetLabelStyle()Style of label. final UnitsetLabelStyle(LabelStyle labelStyle)Style of label. final ListStylegetListStyle()Style of lists. final UnitsetListStyle(ListStyle listStyle)Style of lists. final LineStylegetLineStyle()Style for line and polygons. final UnitsetLineStyle(LineStyle lineStyle)Style for line and polygons. final StringgetIconStyleIconUrl()final StorablegetCopy()final ByteArraygetAsBytes()final UnitsetIconStyle(String iconUrl, Float scale)final UnitsetIconStyle(String iconUrl, Integer color, Float heading, Float scale)final UnitsetIconStyleHotSpot(Integer hotspot)final UnitsetIconStyleHotSpot(KmlVec2 vec2)final UnitsetLineStyle(Integer color, Float width)Set parameters for style that draw a lines. final UnitsetPolyStyle(Integer color)Set line style for drawing a polygons. -
-
Constructor Detail
-
GeoDataStyle
GeoDataStyle(String name)
Create new instance of style container with defined name.- Parameters:
name- name of style container
-
GeoDataStyle
GeoDataStyle()
-
-
Method Detail
-
getBalloonStyle
final BalloonStyle getBalloonStyle()
Style for popup balloons.
-
setBalloonStyle
final Unit setBalloonStyle(BalloonStyle balloonStyle)
Style for popup balloons.
-
getIconStyle
final IconStyle getIconStyle()
Style for icons.
-
setIconStyle
final Unit setIconStyle(IconStyle iconStyle)
Style for icons.
-
getLabelStyle
final LabelStyle getLabelStyle()
Style of label.
-
setLabelStyle
final Unit setLabelStyle(LabelStyle labelStyle)
Style of label.
-
getListStyle
final ListStyle getListStyle()
Style of lists.
-
setListStyle
final Unit setListStyle(ListStyle listStyle)
Style of lists.
-
getLineStyle
final LineStyle getLineStyle()
Style for line and polygons.
-
setLineStyle
final Unit setLineStyle(LineStyle lineStyle)
Style for line and polygons.
-
getIconStyleIconUrl
final String getIconStyleIconUrl()
-
getAsBytes
final ByteArray getAsBytes()
-
setIconStyle
final Unit setIconStyle(String iconUrl, Float scale)
-
setIconStyleHotSpot
final Unit setIconStyleHotSpot(Integer hotspot)
-
setIconStyleHotSpot
final Unit setIconStyleHotSpot(KmlVec2 vec2)
-
setLineStyle
final Unit setLineStyle(Integer color, Float width)
Set parameters for style that draw a lines.
- Parameters:
color- color of lineswidth- width of lines in pixels
-
setPolyStyle
final Unit setPolyStyle(Integer color)
Set line style for drawing a polygons.
- Parameters:
color- color of inner area
-
-
-
-