ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Adds a new image to the map displayed in a Map control.
Example
// Ajout d'une image dans le champ Carte
ImageSurCarte is MapImage
ImageSurCarte.Position = MaPosition
ImageSurCarte.Image = "image.png"
ImageSurCarte.ActionClick = ProcClic
CARTE_MaCarte.AjouteImage(ImageSurCarte)
Syntax
<Result> = <Map control>.AddImage(<Image>)
<Result>: Boolean
  • True if the image could be added,
  • False otherwise. To get more details on the error, use ErrorInfo.
<Map control>: Control name
Name of the Map control to be used.
<Image>: MapImage variable
Name of the MapImage variable that corresponds to the image to be added.
Remarks
  • If the image has already been added in the Map control or if the image is invalid (e.g. width not specified), a fatal error will be displayed.
  • To delete an image drawn in a Map control, use <Map>.DeleteImage.
  • To modify an image drawn in a Map control, use <Map>.ModifyImage.
Business / UI classification: UI Code
Component: wd300obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/17/2024

Send a report | Local help