Package com.pointrlabs.core.map.models
Class PTRMapSymbolLayer
-
- All Implemented Interfaces:
public final class PTRMapSymbolLayer extends PTRMapLayer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
PTRMapSymbolLayer.PTRMapLayerItemAnchorType
-
Field Summary
Fields Modifier and Type Field Description private Boolean
iconAllowOverlap
private PTRMapSymbolLayer.PTRMapLayerItemAnchorType
iconAnchor
private Boolean
iconIgnorePlacement
private Drawable
iconImage
private String
iconImageIdentifier
private FloatArray
iconOffset
private Boolean
iconOptional
private Float
iconPadding
private Float
iconSize
private FloatArray
iconTextFitPadding
private Float
iconOpacity
private Float
textMaxWidth
private String
textField
private Integer
textColor
private Float
textSize
private PTRMapSymbolLayer.PTRMapLayerItemAnchorType
textAnchor
private Boolean
textAllowOverlap
private FloatArray
textOffset
private Boolean
textOptional
private Float
textPadding
private Float
textOpacity
private Boolean
textIgnorePlacement
private Float
maxZoom
private Float
minZoom
private final String
identifier
private Boolean
isVisible
private final String
internalIdentifier
-
Constructor Summary
Constructors Constructor Description PTRMapSymbolLayer(String identifier)
-
Method Summary
-
-
Constructor Detail
-
PTRMapSymbolLayer
PTRMapSymbolLayer(String identifier)
-
-
Method Detail
-
getIconAllowOverlap
final Boolean getIconAllowOverlap()
-
setIconAllowOverlap
final Unit setIconAllowOverlap(Boolean iconAllowOverlap)
-
getIconAnchor
final PTRMapSymbolLayer.PTRMapLayerItemAnchorType getIconAnchor()
-
setIconAnchor
final Unit setIconAnchor(PTRMapSymbolLayer.PTRMapLayerItemAnchorType iconAnchor)
-
getIconIgnorePlacement
final Boolean getIconIgnorePlacement()
-
setIconIgnorePlacement
final Unit setIconIgnorePlacement(Boolean iconIgnorePlacement)
-
getIconImage
final Drawable getIconImage()
Image to be used for the layer. Value should be set together with iconImageIdentifier
-
setIconImage
final Unit setIconImage(Drawable iconImage)
Image to be used for the layer. Value should be set together with iconImageIdentifier
-
getIconImageIdentifier
final String getIconImageIdentifier()
Unique name for the image to be stored. Value should be set together with iconImage
-
setIconImageIdentifier
final Unit setIconImageIdentifier(String iconImageIdentifier)
-
getIconOffset
final FloatArray getIconOffset()
-
setIconOffset
final Unit setIconOffset(FloatArray iconOffset)
-
getIconOptional
final Boolean getIconOptional()
-
setIconOptional
final Unit setIconOptional(Boolean iconOptional)
-
getIconPadding
final Float getIconPadding()
-
setIconPadding
final Unit setIconPadding(Float iconPadding)
-
getIconSize
final Float getIconSize()
-
setIconSize
final Unit setIconSize(Float iconSize)
-
getIconTextFitPadding
final FloatArray getIconTextFitPadding()
-
setIconTextFitPadding
final Unit setIconTextFitPadding(FloatArray iconTextFitPadding)
-
getIconOpacity
final Float getIconOpacity()
-
setIconOpacity
final Unit setIconOpacity(Float iconOpacity)
-
getTextMaxWidth
final Float getTextMaxWidth()
-
setTextMaxWidth
final Unit setTextMaxWidth(Float textMaxWidth)
-
getTextField
final String getTextField()
Feature attribute key to be displayed as the text of the symbol. By default, looks for attribute value under key "name"
-
setTextField
final Unit setTextField(String textField)
-
getTextColor
final Integer getTextColor()
-
setTextColor
final Unit setTextColor(Integer textColor)
-
getTextSize
final Float getTextSize()
-
setTextSize
final Unit setTextSize(Float textSize)
-
getTextAnchor
final PTRMapSymbolLayer.PTRMapLayerItemAnchorType getTextAnchor()
-
setTextAnchor
final Unit setTextAnchor(PTRMapSymbolLayer.PTRMapLayerItemAnchorType textAnchor)
-
getTextAllowOverlap
final Boolean getTextAllowOverlap()
-
setTextAllowOverlap
final Unit setTextAllowOverlap(Boolean textAllowOverlap)
-
getTextOffset
final FloatArray getTextOffset()
-
setTextOffset
final Unit setTextOffset(FloatArray textOffset)
-
getTextOptional
final Boolean getTextOptional()
-
setTextOptional
final Unit setTextOptional(Boolean textOptional)
-
getTextPadding
final Float getTextPadding()
-
setTextPadding
final Unit setTextPadding(Float textPadding)
-
getTextOpacity
final Float getTextOpacity()
-
setTextOpacity
final Unit setTextOpacity(Float textOpacity)
-
getTextIgnorePlacement
final Boolean getTextIgnorePlacement()
-
setTextIgnorePlacement
final Unit setTextIgnorePlacement(Boolean textIgnorePlacement)
-
getMaxZoom
Float getMaxZoom()
-
setMaxZoom
Unit setMaxZoom(Float maxZoom)
-
getMinZoom
Float getMinZoom()
-
setMinZoom
Unit setMinZoom(Float minZoom)
-
getIdentifier
String getIdentifier()
-
-
-
-