Class Property
java.lang.Object
com.trimblemaps.mapsdk.style.layers.Property
Paint/Layout properties for Layer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceWhether extruded geometries are lit relative to the map or viewport.static @interfaceOrientation of circle when map is pitched.static @interfaceControls the scaling behavior of the circle when the map is pitched.static @interfaceControls the frame of reference for `circle-translate`.static @interfaceControls the frame of reference for `fill-extrusion-translate`.static @interfaceControls the frame of reference for `fill-translate`.static @interfaceDirection of light source when map is rotated.static @interfacePart of the icon placed closest to the anchor.static @interfaceOrientation of icon when map is pitched.static @interfaceIn combination with `symbol-placement`, determines the rotation behavior of icons.static @interfaceScales the icon to fit around the associated text.static @interfaceControls the frame of reference for `icon-translate`.static @interfaceThe display of line endings.static @interfaceThe display of lines when joining.static @interfaceControls the frame of reference for `line-translate`.static @interfaceThe resampling/interpolation method to use for overscaling, also known as texture magnification filterstatic @interfaceLabel placement relative to its geometry.static @interfaceControls the order in which overlapping symbols in the same layer are renderedstatic @interfacePart of the text placed closest to the anchor.static @interfaceText justification options.static @interfaceOrientation of text when map is pitched.static @interfaceIn combination with `symbol-placement`, determines the rotation behavior of the individual glyphs forming the text.static @interfaceSpecifies how to capitalize text, similar to the CSS `text-transform` property.static @interfaceControls the frame of reference for `text-translate`.static @interfaceThe property allows control over a symbol's orientation.static @interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe position of the light source is aligned to the rotation of the map.static final StringThe position of the light source is aligned to the rotation of the viewport.static final StringThe circle is aligned to the plane of the map.static final StringThe circle is aligned to the plane of the viewport.static final StringCircles are scaled according to their apparent distance to the camera.static final StringCircles are not scaled.static final StringThe circle is translated relative to the map.static final StringThe circle is translated relative to the viewport.static final StringThe fill extrusion is translated relative to the map.static final StringThe fill extrusion is translated relative to the viewport.static final StringThe fill is translated relative to the map.static final StringThe fill is translated relative to the viewport.static final StringThe hillshade illumination is relative to the north direction.static final StringThe hillshade illumination is relative to the top of the viewport.static final StringThe bottom of the icon is placed closest to the anchor.static final StringThe bottom left corner of the icon is placed closest to the anchor.static final StringThe bottom right corner of the icon is placed closest to the anchor.static final StringThe center of the icon is placed closest to the anchor.static final StringThe left side of the icon is placed closest to the anchor.static final StringThe right side of the icon is placed closest to the anchor.static final StringThe top of the icon is placed closest to the anchor.static final StringThe top left corner of the icon is placed closest to the anchor.static final StringThe top right corner of the icon is placed closest to the anchor.static final StringAutomatically matches the value ofProperty.ICON_ROTATION_ALIGNMENT.static final StringThe icon is aligned to the plane of the map.static final StringThe icon is aligned to the plane of the viewport.static final StringWhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, this is equivalent toICON_ROTATION_ALIGNMENT_VIEWPORT.static final StringWhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, aligns icons east-west.static final StringProduces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value ofProperty.SYMBOL_PLACEMENT.static final StringThe icon is scaled in both x- and y-dimensions.static final StringThe icon is scaled in the y-dimension to fit the height of the text.static final StringThe icon is displayed at its intrinsic aspect ratio.static final StringThe icon is scaled in the x-dimension to fit the width of the text.static final StringIcons are translated relative to the map.static final StringIcons are translated relative to the viewport.static final StringA cap with a squared-off end which is drawn to the exact endpoint of the line.static final StringA cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.static final StringA cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.static final StringA join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.static final StringA join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.static final StringA join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.static final StringThe line is translated relative to the map.static final StringThe line is translated relative to the viewport.static final StringThe layer is hidden.static final String(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaledstatic final StringNearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaledstatic final StringThe label is placed along the line of the geometry.static final StringThe label is placed at the center of the line of the geometry.static final StringThe label is placed at the point where the geometry is located.static final StringIf symbol sort key is set, sort based on that.static final StringSymbols will be rendered in the same order as the source data with no sorting applied.static final StringSymbols will be sorted by their y-position relative to the viewport.static final StringThe bottom of the text is placed closest to the anchor.static final StringThe bottom left corner of the text is placed closest to the anchor.static final StringThe bottom right corner of the text is placed closest to the anchor.static final StringThe center of the text is placed closest to the anchor.static final StringThe left side of the text is placed closest to the anchor.static final StringThe right side of the text is placed closest to the anchor.static final StringThe top of the text is placed closest to the anchor.static final StringThe top left corner of the text is placed closest to the anchor.static final StringThe top right corner of the text is placed closest to the anchor.static final StringThe text is aligned towards the anchor position.static final StringThe text is centered.static final StringThe text is aligned to the left.static final StringThe text is aligned to the right.static final StringAutomatically matches the value ofProperty.TEXT_ROTATION_ALIGNMENT.static final StringThe text is aligned to the plane of the map.static final StringThe text is aligned to the plane of the viewport.static final StringWhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, this is equivalent toTEXT_ROTATION_ALIGNMENT_VIEWPORT.static final StringWhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, aligns text east-west.static final StringProduces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value ofProperty.SYMBOL_PLACEMENT.static final StringForces all letters to be displayed in lowercase.static final StringThe text is not altered.static final StringForces all letters to be displayed in uppercase.static final StringThe text is translated relative to the map.static final StringThe text is translated relative to the viewport.static final StringIf a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally.static final StringIf a text's language supports vertical writing mode, symbols with point placement would be laid out vertically.static final StringThe layer is shown. -
Method Summary
-
Field Details
-
VISIBLE
The layer is shown.- See Also:
-
NONE
The layer is hidden.- See Also:
-
LINE_CAP_BUTT
A cap with a squared-off end which is drawn to the exact endpoint of the line.- See Also:
-
LINE_CAP_ROUND
A cap with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.- See Also:
-
LINE_CAP_SQUARE
A cap with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.- See Also:
-
LINE_JOIN_BEVEL
A join with a squared-off end which is drawn beyond the endpoint of the line at a distance of one-half of the line's width.- See Also:
-
LINE_JOIN_ROUND
A join with a rounded end which is drawn beyond the endpoint of the line at a radius of one-half of the line's width and centered on the endpoint of the line.- See Also:
-
LINE_JOIN_MITER
A join with a sharp, angled corner which is drawn with the outer sides beyond the endpoint of the path until they meet.- See Also:
-
SYMBOL_PLACEMENT_POINT
The label is placed at the point where the geometry is located.- See Also:
-
SYMBOL_PLACEMENT_LINE
The label is placed along the line of the geometry. Can only be used on LineString and Polygon geometries.- See Also:
-
SYMBOL_PLACEMENT_LINE_CENTER
The label is placed at the center of the line of the geometry. Can only be used on LineString and Polygon geometries. Note that a single feature in a vector tile may contain multiple line geometries.- See Also:
-
SYMBOL_Z_ORDER_AUTO
If symbol sort key is set, sort based on that. Otherwise sort symbols by their y-position relative to the viewport.- See Also:
-
SYMBOL_Z_ORDER_VIEWPORT_Y
Symbols will be sorted by their y-position relative to the viewport.- See Also:
-
SYMBOL_Z_ORDER_SOURCE
Symbols will be rendered in the same order as the source data with no sorting applied.- See Also:
-
ICON_ROTATION_ALIGNMENT_MAP
WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, aligns icons east-west. WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_LINEorSYMBOL_PLACEMENT_LINE_CENTER, aligns icon x-axes with the line.- See Also:
-
ICON_ROTATION_ALIGNMENT_VIEWPORT
Produces icons whose x-axes are aligned with the x-axis of the viewport, regardless of the value ofProperty.SYMBOL_PLACEMENT.- See Also:
-
ICON_ROTATION_ALIGNMENT_AUTO
WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, this is equivalent toICON_ROTATION_ALIGNMENT_VIEWPORT. WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_LINEorSYMBOL_PLACEMENT_LINE_CENTER, this is equivalent toICON_ROTATION_ALIGNMENT_MAP.- See Also:
-
ICON_TEXT_FIT_NONE
The icon is displayed at its intrinsic aspect ratio.- See Also:
-
ICON_TEXT_FIT_WIDTH
The icon is scaled in the x-dimension to fit the width of the text.- See Also:
-
ICON_TEXT_FIT_HEIGHT
The icon is scaled in the y-dimension to fit the height of the text.- See Also:
-
ICON_TEXT_FIT_BOTH
The icon is scaled in both x- and y-dimensions.- See Also:
-
ICON_ANCHOR_CENTER
The center of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_LEFT
The left side of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_RIGHT
The right side of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_TOP
The top of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_BOTTOM
The bottom of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_TOP_LEFT
The top left corner of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_TOP_RIGHT
The top right corner of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_BOTTOM_LEFT
The bottom left corner of the icon is placed closest to the anchor.- See Also:
-
ICON_ANCHOR_BOTTOM_RIGHT
The bottom right corner of the icon is placed closest to the anchor.- See Also:
-
ICON_PITCH_ALIGNMENT_MAP
The icon is aligned to the plane of the map.- See Also:
-
ICON_PITCH_ALIGNMENT_VIEWPORT
The icon is aligned to the plane of the viewport.- See Also:
-
ICON_PITCH_ALIGNMENT_AUTO
Automatically matches the value ofProperty.ICON_ROTATION_ALIGNMENT.- See Also:
-
TEXT_PITCH_ALIGNMENT_MAP
The text is aligned to the plane of the map.- See Also:
-
TEXT_PITCH_ALIGNMENT_VIEWPORT
The text is aligned to the plane of the viewport.- See Also:
-
TEXT_PITCH_ALIGNMENT_AUTO
Automatically matches the value ofProperty.TEXT_ROTATION_ALIGNMENT.- See Also:
-
TEXT_ROTATION_ALIGNMENT_MAP
WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, aligns text east-west. WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_LINEorSYMBOL_PLACEMENT_LINE_CENTER, aligns text x-axes with the line.- See Also:
-
TEXT_ROTATION_ALIGNMENT_VIEWPORT
Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value ofProperty.SYMBOL_PLACEMENT.- See Also:
-
TEXT_ROTATION_ALIGNMENT_AUTO
WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_POINT, this is equivalent toTEXT_ROTATION_ALIGNMENT_VIEWPORT. WhenProperty.SYMBOL_PLACEMENTis set toSYMBOL_PLACEMENT_LINEorSYMBOL_PLACEMENT_LINE_CENTER, this is equivalent toTEXT_ROTATION_ALIGNMENT_MAP.- See Also:
-
TEXT_JUSTIFY_AUTO
The text is aligned towards the anchor position.- See Also:
-
TEXT_JUSTIFY_LEFT
The text is aligned to the left.- See Also:
-
TEXT_JUSTIFY_CENTER
The text is centered.- See Also:
-
TEXT_JUSTIFY_RIGHT
The text is aligned to the right.- See Also:
-
TEXT_ANCHOR_CENTER
The center of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_LEFT
The left side of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_RIGHT
The right side of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_TOP
The top of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_BOTTOM
The bottom of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_TOP_LEFT
The top left corner of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_TOP_RIGHT
The top right corner of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_BOTTOM_LEFT
The bottom left corner of the text is placed closest to the anchor.- See Also:
-
TEXT_ANCHOR_BOTTOM_RIGHT
The bottom right corner of the text is placed closest to the anchor.- See Also:
-
TEXT_TRANSFORM_NONE
The text is not altered.- See Also:
-
TEXT_TRANSFORM_UPPERCASE
Forces all letters to be displayed in uppercase.- See Also:
-
TEXT_TRANSFORM_LOWERCASE
Forces all letters to be displayed in lowercase.- See Also:
-
FILL_TRANSLATE_ANCHOR_MAP
The fill is translated relative to the map.- See Also:
-
FILL_TRANSLATE_ANCHOR_VIEWPORT
The fill is translated relative to the viewport.- See Also:
-
LINE_TRANSLATE_ANCHOR_MAP
The line is translated relative to the map.- See Also:
-
LINE_TRANSLATE_ANCHOR_VIEWPORT
The line is translated relative to the viewport.- See Also:
-
ICON_TRANSLATE_ANCHOR_MAP
Icons are translated relative to the map.- See Also:
-
ICON_TRANSLATE_ANCHOR_VIEWPORT
Icons are translated relative to the viewport.- See Also:
-
TEXT_TRANSLATE_ANCHOR_MAP
The text is translated relative to the map.- See Also:
-
TEXT_TRANSLATE_ANCHOR_VIEWPORT
The text is translated relative to the viewport.- See Also:
-
CIRCLE_TRANSLATE_ANCHOR_MAP
The circle is translated relative to the map.- See Also:
-
CIRCLE_TRANSLATE_ANCHOR_VIEWPORT
The circle is translated relative to the viewport.- See Also:
-
CIRCLE_PITCH_SCALE_MAP
Circles are scaled according to their apparent distance to the camera.- See Also:
-
CIRCLE_PITCH_SCALE_VIEWPORT
Circles are not scaled.- See Also:
-
CIRCLE_PITCH_ALIGNMENT_MAP
The circle is aligned to the plane of the map.- See Also:
-
CIRCLE_PITCH_ALIGNMENT_VIEWPORT
The circle is aligned to the plane of the viewport.- See Also:
-
FILL_EXTRUSION_TRANSLATE_ANCHOR_MAP
The fill extrusion is translated relative to the map.- See Also:
-
FILL_EXTRUSION_TRANSLATE_ANCHOR_VIEWPORT
The fill extrusion is translated relative to the viewport.- See Also:
-
RASTER_RESAMPLING_LINEAR
(Bi)linear filtering interpolates pixel values using the weighted average of the four closest original source pixels creating a smooth but blurry look when overscaled- See Also:
-
RASTER_RESAMPLING_NEAREST
Nearest neighbor filtering interpolates pixel values using the nearest original source pixel creating a sharp but pixelated look when overscaled- See Also:
-
HILLSHADE_ILLUMINATION_ANCHOR_MAP
The hillshade illumination is relative to the north direction.- See Also:
-
HILLSHADE_ILLUMINATION_ANCHOR_VIEWPORT
The hillshade illumination is relative to the top of the viewport.- See Also:
-
ANCHOR_MAP
The position of the light source is aligned to the rotation of the map.- See Also:
-
ANCHOR_VIEWPORT
The position of the light source is aligned to the rotation of the viewport.- See Also:
-
TEXT_WRITING_MODE_HORIZONTAL
If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally.- See Also:
-
TEXT_WRITING_MODE_VERTICAL
If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically.- See Also:
-