AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones Mapa
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
Adds a new image to the map displayed in a Map control.
Example
// Add an image to the Map control
ImageOnMap is MapImage
ImageOnMap.Position = MyPosition
ImageOnMap.Image = "image.png"
ImageOnMap.ActionClick = ClickProc
MapAddImage(MAP_MyMap, ImageOnMap)
Syntax
<Result> = MapAddImage(<Map control> , <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. If this parameter corresponds to an empty string (""), the Map control to which the current event belongs will 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 to the Map control or if it is invalid (e.g.: unspecified width), a fatal error will be displayed.
  • To delete an image drawn in a Map control, use MapDeleteImage.
  • To modify an image drawn in a Map control, use MapModifyImage.
Business / UI classification: UI Code
Component: wd290obj.dll
Versión mínima requerida
  • Versión 26
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local