POIStyleProperties¶
Interface POIStyleProperties
interface POIStyleProperties {
color?: [number, number, number, number];
name?: string;
size?: number;
sprite?: HTMLImageElement;
}
color?: [number, number, number, number];
name?: string;
size?: number;
sprite?: HTMLImageElement;
}
Properties
Optionalcolor
color?: [number, number, number, number]
The color of the POIs as RGBA values in the range [0, 1].
Optionalname
name?: string
Optional. Name of the POI style.
Optionalsize
size?: number
The size of the POIs. By default, this is interpreted as screen space pixels. See sizeMode in POISetProperties for details.
Optionalsprite
sprite?: HTMLImageElement
The sprite image to use for the POIs. If not set, the POIs will be rendered as circles. To delete a sprite from an existing style, set the sprite to null.
Defines the visual appearance of a set of PointOfInterests.