Optional
attributesThe 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.
Optional
drapedWhether 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.
Optional
drapeWhether 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.
Optional
headingDefines 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.
Optional
regularAn object literal containing the color, icon and scale expression to use when painting (regular) points.
Optional
selectedAn object literal containing the color, icon and scale expression to use when painting selected points.
Optional
visibilityThe expression used to filter points.
An object literal containing the ParameterizedPointPainter's parameters.