ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
  • Properties specific to MarkerImage variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
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.
Example
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 nameType usedEffect
BackgroundColorColor, integer, constantCircle outline. This color can correspond to:Note: To change the fill opacity, write:
MonMarqueurImage.CouleurFond.Opacité = 50
Default color: black.
ColorColor, integer, constantColor of the shape outline and marker caption. This color can correspond to:Default color: black.
ShapeInteger constantShape to be represented with one of the following constants:
  • formeCarré: Square shape.
  • shapeSquareRounded Square shape with rounded corners.
  • shapeRound (default): Round shape.
SizeIntegerShape size (radius for a circle, side for a square), in pixels.
TextCharacter stringCaption to be displayed in the shape.
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help