PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Modifies a shape drawn on the map displayed in a Map control.
Example
// Change the radius of a circle displayed in a Map control
Circle is MapCircle
Circle.Radius = 50
MapModifyShape(MAP_MyMap, Circle)
Syntax
<Result> = MapModifyShape(<Map control> , <Shape>)
<Result>: Boolean
  • True if the shape was modified,
  • False otherwise. To get the details of 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 to handle corresponding to the name of a MapPolygon, MapPolyline or MapCircle variable.
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: wd270obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment