OptionalattributesThe attributes that can be used in expressions, and how the values of the attributes should be found.
Each entry in the object literal should use the desired name of the attribute as key, and either the
name of a feature property or a function that calculates the attribute value given a feature.
Only numeric attributes are supported. If you want to use feature properties
based on other kinds of objects, you will need to map these to numbers in a function you provide.
If an attribute is ever to be used in any kind of expression,
it must be specified in this object literal.
OptionaldrapedWhether the (icons of the) points should be draped on top of the terrain or a 3D tiles mesh (or both). This setting is only relevant for 3D maps and is ignored for 2D maps. If used, the height of points is discarded.
This property only exists for backwards compatibility. You should use DrapeTarget instead.
false is equivalent to DrapeTarget.NOT_DRAPED and true is equivalent to
DrapeTarget.TERRAIN.
Use drapeTarget instead.
OptionaldrapeWhether the (icons of the) points should be draped on top of the terrain or a 3D tiles mesh (or both). This setting is only relevant for 3D maps and is ignored for 2D maps. If used, the height of points is discarded.
OptionalheadingDefines how the headings of the (icons of the) points should be found. You can provide either the name of a feature property or a function that calculates the heading given a feature. For more information on the meaning of the heading property, see heading.
OptionalregularAn object literal containing the color, icon and scale expression to use when painting (regular) points.
OptionalselectedAn object literal containing the color, icon and scale expression to use when painting selected points.
OptionaltransparencyWhether to enable high-quality transparency for the parameterized points.
Parameterized points can be transparent if their icon expression returns an icon that contains (semi-)transparent pixels, and/or if their color expression returns a color with an alpha below 255. The transparency of parameterized icons cannot be auto-detected.
Setting this property to true, enables a higher-fidelity (but costlier) rendering mode that properly displays (semi-)transparent icons. Setting this property to false may result in slight artifacting when occluding other objects. If the icons and colors are always opaque, this flag will have no visual impact, and it's recommended to set it to false.
OptionalvisibilityThe expression used to filter points.
An object literal containing the ParameterizedPointPainter's parameters.