- Properties specific to the description of MarkerImage variables
MarkerImage (Type of variable)
In french: MarqueurImage
type is used to customize the image associated with a marker or a marker cluster displayed in a Map control. The characteristics of this image can be defined and changed using different WLanguage properties.
: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable
MyImg is MarkerImage
MyImg.Size = 60
MyImg.BackgroundColor = LightGreen
MyImg.Text = 100
MyMarker is Marker
MyMarker.Position = MyLocation
MyMarker.Image = MyImg
Properties specific to the description of MarkerImage variables
The following properties can be used to handle the marker image:
|Property name||Type used||Effect|
|BackgroundColor||Color, integer, constant||Circle outline. This color can correspond to:Remark: To change the opacity of the fill, you can write:|
Default Color: black.
MyMarkerImage.BackgroundColor.Opacity = 50
|Color||Color, integer, constant||Color of the shape outline and marker caption. This color can correspond to:Default Color: black. |
|Shape||Integer constant||Shape to be represented with one of the following constants: |
- shapeSquare: Square shape.
- shapeRoundedSquare: Square shape with rounded corners.
- shapeCircle (default value): Round shape.
|Size||Integer||Shape size (radius for a circle, side for a square), in pixels.|
|Text||Character string||Caption to be displayed in the shape.|
This page is also available for…