|
- Overview of Map control
- Creating a Map control
- Displaying and handling maps
- Displaying the maps
- Maps handled by the user
- Specific features
- Internet Explorer: Required versions
- Modifying the permissions
Versions 18 and later New in version 18 Versions 20 and later New in version 20 Versions 21 and later New in version 21The Map control allows you to display a map in order to geolocate, display points of interest (P.O.I), ... This map comes from: the Google Maps service for the Android applications. Caution: The use of Map control is subject to specific terms and conditions. See Conditions for using the Map control for more details. Check the Google license before deploying your applications. Versions 18 and later of Apple geo-localization service for the iPhone/iPad applications from iOS 6. Notes: - For the iPhone/iPad applications in iOS 5, the Google Maps service is used.
- You must comply with the service license.
New in version 18 of Apple geo-localization service for the iPhone/iPad applications from iOS 6. Notes: - For the iPhone/iPad applications in iOS 5, the Google Maps service is used.
- You must comply with the service license.
of Apple geo-localization service for the iPhone/iPad applications from iOS 6. Notes: - For the iPhone/iPad applications in iOS 5, the Google Maps service is used.
- You must comply with the service license.
Versions 20 and later  of Google Map service for the Web sites via Google Maps API. The use of 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. New in version 20  of Google Map service for the Web sites via Google Maps API. The use of 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.   of Google Map service for the Web sites via Google Maps API. The use of 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. Versions 21 and later of the Bing Map service for the applications in Universal Windows 10 App mode. Caution: - The use of Map control is subject to specific terms and conditions. A Bing key must be used (MapLicenseBing). Check the Bing license before deploying your applications.
- The positioning via a character string may return inconsistent results. We recommend that you use a positioning via an Address variable or via a geoPosition variable.
New in version 21 of the Bing Map service for the applications in Universal Windows 10 App mode. Caution: - The use of Map control is subject to specific terms and conditions. A Bing key must be used (MapLicenseBing). Check the Bing license before deploying your applications.
- The positioning via a character string may return inconsistent results. We recommend that you use a positioning via an Address variable or via a geoPosition variable.
of the Bing Map service for the applications in Universal Windows 10 App mode. Caution: - The use of Map control is subject to specific terms and conditions. A Bing key must be used (MapLicenseBing). Check the Bing license before deploying your applications.
- The positioning via a character string may return inconsistent results. We recommend that you use a positioning via an Address variable or via a geoPosition variable.
| From June 11 2018, the conditions for using the Google mapping services have evolved. The license key for using this service now requires a payment. |
The map displayed is interactive: you have the ability to zoom, to move, ... It can be displayed in street map view or in satellite view. Displaying and handling maps Displaying the maps When the window containing a Map control is opened, a map of the world is automatically displayed: the map is centered around the equator, with the lowest zoom level. When the window containing a Map control is opened, a map of the world is automatically displayed: the map is centered on Europe, with medium zoom level.
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 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…
|
|
|
| |
| | MapLicenseGgl("AIzaSyDbSVKYPwB1a-_vPbDzAr6LgAfIj4iW2hc")
PositionWx is geoPosition PositionWx.Latitude = -25.4401779 PositionWx.Longitude = -49.2118695
MarkerWx is Marker MarkerWx.Description = "WX INFORMATICA" MarkerWx.Name = "WX INFORMATICA" MarkerWx.Position = PositionWx
MapAddMarker(GoogleMaps,MarkerWx)
GoogleMaps.DisplayPosition(PositionWx) GoogleMaps..Zoom = 18 |
|
|
|
| |
| |
| |
|
| | MapLicenseGgl("AIzaSyDbSVKYPwB1a-_vPbDzAr6LgAfIj4iW2hc")
PositionWx is geoPosition PositionWx.Latitude = -25.4401779 PositionWx.Longitude = -49.2118695
MarkerWx is Marker MarkerWx.Description = "WX INFORMATICA" MarkerWx.Name = "WX INFORMATICA" MarkerWx.Position = PositionWx
MapAddMarker(GoogleMaps,MarkerWx)
GoogleMaps.DisplayPosition(PositionWx) GoogleMaps..Zoom = 18 |
|
|
|
| |
| |
| |
| |
| |
| |
| | |
| |