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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Modifies a shape drawn on the map displayed in a Map control.
Example
// Modifie le rayon d'un cercle affiché dans le champ Carte
Cercle is MapCircle
Cercle.Radius = 50
MapModifyShape(CARTE_MaCarte, Cercle)
Syntax
<Result> = MapModifyShape(<Map control> , <Shape>)
<Result>: Boolean
  • True if the shape was modified,
  • 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.
<Shape>: MapCircle, MapPolygon or MapPolyline variable
Shape corresponding to the name of a variable of type MapPolygon, MapPolyline or MapCircle.
Remarks
  • The shape must have been added to the Map control before it can be modified.
  • To add a new shape to be drawn on a map, use MapAddShape.
  • To delete a shape drawn in a Map control, use MapDeleteShape.
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/18/2024

Send a report | Local help