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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The following functions are used to manage Map controls via a prefix syntax:
Versions 26 and later
<Map>.AddImage
New in version 26
<Map>.AddImage
<Map>.AddImage
Adds a new image to the map displayed in a Map control.
<Map>.AddItineraryAdds an itinerary onto a Map control.
<Map>.AddMarkerAdds a new marker onto a map displayed in a Map control.
Versions 26 and later
<Map>.AddShape
New in version 26
<Map>.AddShape
<Map>.AddShape
Adds a new shape (polygon, line, circle) to the map displayed in a Map control.
Versions 26 and later
<Map>.ChangeStyle
New in version 26
<Map>.ChangeStyle
<Map>.ChangeStyle
Changes the style of the map displayed in the Map control.
Versions 26 and later
<Map>.ClosePopup
New in version 26
<Map>.ClosePopup
<Map>.ClosePopup
Closes the popup of a marker displayed in the Map control.
<Map>.DeleteAllDeletes the following from a Map control:
  • all markers,
  • all shapes,
  • all images.
Versions 26 and later
<Map>.DeleteImage
New in version 26
<Map>.DeleteImage
<Map>.DeleteImage
Deletes an image drawn on the map displayed in a Map control.
<Map>.DeleteItineraryDeletes an itinerary from a Map control.
<Map>.DeleteMarkerDeletes a marker from a map displayed by a Map control
Versions 26 and later
<Map>.DeleteShape
New in version 26
<Map>.DeleteShape
<Map>.DeleteShape
Deletes a shape drawn on the map displayed in an Map control.
Versions 26 and later
<Map>.DisplayArea
New in version 26
<Map>.DisplayArea
<Map>.DisplayArea
Moves the map displayed in the Map control so that the specified geographic area can be seen in its entirety.
Versions 26 and later
<Map>.DisplayPopup
New in version 26
<Map>.DisplayPopup
<Map>.DisplayPopup
Opens the popup of a marker displayed in a Map control.
<Map>.DisplayPositionCenters the map displayed in a Map control on a geographical position or on a specific location.
<Map>.EndOfMoveStops following the device movement in a Map control.
<Map>.ExecuteJSRuns the native code of Google Maps API in a Map control in Javascript.
<Map>.FollowMovementDisplays the current device position in a Map control and updates this position during its move.
<Map>.GetImageRetrieves 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.
<Map>.GetJSObjectReturns the instance of the API of Map control.
<Map>.GetPositionReturns the geographical position of the point located in the center of the map currently displayed in a Map control.
Versions 26 and later
<Map>.GetStyle
New in version 26
<Map>.GetStyle
<Map>.GetStyle
Returns the style used by the map displayed in the Map control.
<Map>.InfoPositionReturns the coordinates (in pixels) of the point corresponding to a geographical position (latitude and longitude).
<Map>.InfoXYReturns the geographical position (latitude and longitude) corresponding to a point in a Map control.
<Map>.ItineraryDistanceCalculates the distance of an itinerary in a Map control.
Versions 26 and later
<Map>.LimitArea
New in version 26
<Map>.LimitArea
<Map>.LimitArea
Limits the geographic area displayed in the Map control.
Versions 26 and later
<Map>.ModifyImage
New in version 26
<Map>.ModifyImage
<Map>.ModifyImage
Modifies an image drawn on the map displayed in a Map control.
<Map>.ModifyMarkerModifies a marker displayed in a Map control.
Versions 26 and later
<Map>.ModifyShape
New in version 26
<Map>.ModifyShape
<Map>.ModifyShape
Modifies a shape drawn on the map displayed in a Map control.
Versions 26 and later
<Map>.PopupDisplayed
New in version 26
<Map>.PopupDisplayed
<Map>.PopupDisplayed
Indicates whether the popup of a marker in a Map control is displayed.
The types of variables manipulated by the Map control or one of its functions are the following:
Versions 26 and later
MapCircle
New in version 26
MapCircle
MapCircle
The MapCircle type is used to define the characteristics of a circle to be drawn on the map displayed in a Map control.
Versions 26 and later
MapImage
New in version 26
MapImage
MapImage
The MapImage type is used to define the characteristics of an image to be drawn on the map displayed in a Map control.
Versions 26 and later
MapPolygon
New in version 26
MapPolygon
MapPolygon
The MapPolygon type is used to define the characteristics of a polygon to be drawn on the map displayed in a Map control.
Versions 26 and later
MapPolyline
New in version 26
MapPolyline
MapPolyline
The MapPolyline type is used to define the characteristics of a line composed of several segments to be drawn on the map displayed in a Map control.
Versions 17 and later
Marker
New in version 17
Marker
Marker
The Marker type is used to define the characteristics of a marker that must be positioned on a map displayed in a Map control.
Versions 26 and later
MarkerImage
New in version 26
MarkerImage
MarkerImage
The MarkerImage type is used to customize the image associated with a marker or a marker cluster displayed in a Map control.
Related Examples:
The Map control Unit examples (WEBDEV): The Map control
[ + ] This example explains how to use the Map control of WEBDEV.
It can be used to display a map that includes markers as well as an itinerary.
The Map control Unit examples (WINDEV): The Map control
[ + ] Using the Map control of WINDEV.
It is used to display a map that includes markers as well as an itinerary.
WM Sports Cross-platform examples (WINDEV Mobile): WM Sports
[ + ] This example is a sport application used to save your performances.
The application calculates the distance, the time, the average speed and the number of calories spent according to the sport.
The run is displayed on a map control via markers and an itinerary.

The example also includes a server part used to synchronize the user data.
This webservice is available in the WEBDEV "WW_Sports" example.
WM Geolocation Cross-platform examples (WINDEV Mobile): WM Geolocation
[ + ] This example explains how to perform proximity searches with geolocation :
- search around me
- search in a city, at a given address, or close to a specific address.
The results are displayed in a looper and in a map with markers.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment