|
|
|
|
|
Remark: These functions are also available in prefix syntax ( Functions for managing Map controls (prefix syntax)). The following functions are used to manage Map controls:
| | MapAddImage | Adds a new image to the map displayed in a Map control. | MapAddItinerary | Adds an itinerary onto a Map control. | MapAddMarker | Adds a new marker onto a map displayed in a Map control. | MapAddShape | Adds a new shape (polygon, line, circle) to the map displayed in a Map control. | MapChangeStyle | Changes the style of the map displayed in the Map control. | MapClosePopup | Closes the popup of a marker displayed in the Map control. | MapConfigureGglAPI | Declares additional parameters for the Map control that will be transmitted to the Google API. | MapDeleteAll | Deletes the following from a Map control: - all markers,
- all shapes,
- all images.
| MapDeleteImage | Deletes an image drawn on the map displayed in a Map control. | MapDeleteItinerary | Deletes an itinerary from a Map control. | MapDeleteMarker | Deletes a marker from a map displayed by a Map control. | MapDeleteShape | Deletes a shape drawn on the map displayed in an Map control. | MapDisplayArea | Moves the map displayed in the Map control so that the specified geographic area can be seen in its entirety. | MapDisplayPopup | Opens the popup of a marker displayed in a Map control. | MapDisplayPosition | Centers the map displayed in a Map control on a geographical position or on a specific location. | MapEndOfMove | Stops following the device movement in a Map control. | MapExecuteJS | Runs the native code of Google Maps API in a Map control in JavaScript. | MapFollowMovement | Displays the current location of the device in a Map control and updates the location as it moves. | MapGetImage | 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. | MapGetJSObject | Returns the instance of the API of Map control. | MapGetPosition | Returns the geographical position of the point located in the center of the map currently displayed in a Map control. | MapGetStyle | Returns the style used by the map displayed in the Map control. | MapInfoPosition | Returns the coordinates (in pixels) of the point corresponding to a geographical position (latitude and longitude). | MapInfoXY | Returns the geographical position (latitude and longitude) corresponding to a point in a Map control. | MapItineraryDistance | Calculates the distance of an itinerary in a Map control. | MapLicenseBing | Indicates the "Bing map" license key that will be used in the Map controls used in Universal Windows 10 App mode. | MapLicenseGgl | Indicates the "Google Maps API" license key that will be used in the Map controls (of WINDEV or WEBDEV). | MapLimitArea | Limits the geographic area displayed in the Map control. | MapModifyImage | Modifies an image drawn on the map displayed in a Map control. | MapModifyMarker | Modifies a marker displayed in a Map control. | MapModifyShape | Modifies a shape drawn on the map displayed in a Map control. | MapPopupDisplayed | 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:
| | MapCircle | The MapCircle type is used to define the characteristics of a circle to be drawn on the map displayed in a Map control. | MapImage | The MapImage type is used to define the characteristics of an image to be drawn on the map displayed in a Map control. | MapPolygon | The MapPolygon type is used to define the characteristics of a polygon to be drawn on the map displayed in a Map control. | 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. | 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. | 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:
|
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.
|
|
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.
|
|
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.
|
|
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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|