|
|
|
|
|
- Properties specific to MarkerImage variables
MarkerImage (Variable type) In french: MarqueurImage
The MarkerImage type is used to customize the image associated with a marker or a marker cluster displayed in a Map control. You can define and change the characteristics of this image using different WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable. MonImg is MarkerImage
MonImg.Size = 60
MonImg.BackgroundColor = LightGreen
MonImg.Text = 100
MonMarqueur is Marker
MonMarqueur.Position = MaPosition
MonMarqueur.Image = MonImg
MapAddMarker(CARTE_Carte1, MonMarqueur)
Properties Properties specific to 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:Note: To change the fill opacity, write:
MonMarqueurImage.CouleurFond.Opacité = 50
Default color: black. | 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: - formeCarré: Square shape.
- shapeSquareRounded Square shape with rounded corners.
- shapeRound (default): 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…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|