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
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 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: 05/26/2022

Send a report | Local help