- Overview of Map control
- Creating a Map control
- Popup for displaying markers
- Displaying and handling maps
- Displaying the maps
- Maps handled by the user
- Specific features
- Internet Explorer: Required versions
- Map control and Google license
The Map control allows you to display a map in order to geolocate, display points of interest (POI) and more, ... This map comes from: the Google Maps service for Web sites via the Google Maps API. The use of the Map control is subject to specific terms and conditions. Depending on the use mode, you may have to use a Google key (MapLicenseGgl). Check the Google license before deploying your applications. the Bing Maps service for applications in Universal Windows 10 App mode. Caution: - The use of the Map control is subject to specific terms and conditions. A Bing key must be used (MapLicenseBing). Check the Bing license before deploying your applications.
- Using an address specified with a string in a Map control may return inconsistent results. It is recommended to specify positions via variables of type Address or geoPosition.
The map displayed is interactive: you have the ability to zoom, move, ... It can be displayed in map view or satellite view.
Popup for displaying markers Depending on the platform, when a preset window or page is used to manage marker popups, the following elements are included: FI_WinDevPopupMarqueur_WD (internal window in the WDFAA component).
These elements contain: - two controls used to display the name and description of the marker.
- a declaration code to handle the current Marker variable.
Displaying and handling maps Displaying the maps When the window containing a Map control is opened, a world map is automatically displayed: the map is centered on Europe, with medium zoom level. Map control and Google license
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.
|
|
Unit examples (WINDEV): The GglGetStaticMap function
[ + ] Using gglGetMap to display a Google map in an Image control.
|
|
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.
|
|
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.
|
This page is also available for…
|
|
|
|