PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Properties specific to the description of MarkerImage variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
MarkerImage (Type of variable)
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. The characteristics of this image can be defined and modified using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
MyImg is MarkerImage
MyImg.Size = 60
MyImg.FillColor = LightGreen
MyImg.Text = 100
 
MyMarker is Marker
MyMarker.Position = MyPosition
MyMarker.Image = MyImg
 
MapAddMarker(MAP_Map1, MyMarker)
Remarks

Properties specific to the description of MarkerImage variables

The following properties can be used to handle the marker image:
Property nameType usedEffect
ColorColor, integer, constantColor of the shape outline and marker caption. This color can correspond to:Default Color: black.
BackgroundColorColor, integer, constantCircle outline. This color can correspond to:Remark: To change the opacity of the fill, you can write:
MyMarkerImage.BackgroundColor.Opacity = 50
Default Color: black.
ShapeInteger constantShape to be represented with one of the following constants:
  • shapeSquare: Square shape.
  • shapeRoundedSquare: Square shape with rounded corners.
  • shapeCircle (default value): 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