ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
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
MapGetImage (Function)
In french: CarteRécupèreImage
Retrieves the image of a map displayed in a Map control. The markers and the itineraries displayed on this map will also be found in the image.
Example
// Retrieve the image displayed in the Map control and assign it to an Image control
MapGetImage(MAP_MyMapControl, CallbackMapGetImage)
 
INTERNAL PROCEDURE CallbackMapGetImage(MapImage is Image)
IMG_Image = MapImage
END
Syntax
MapGetImage(<Map control> , <WLanguage procedure>)
<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.
<WLanguage procedure>: Procedure name
Name of the WLanguage procedure ("callback") called when the Map control image is available.
This procedure has the following format:
PROCEDURE <Procedure name>(<Image>)
where <Image> is an Image variable containing the map displayed in the control.
Remarks
iPhone/iPad If the Map control contains MapPolyline drawings that use the Geodesic property, the Geodesic property will be ignored in the image obtained.
Component: wd290obj.dll
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help