ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The MapMode property determines and changes how the map is displayed in the Map control. This map can be displayed in road map mode or in satellite mode.
Example
// Modify the display mode of the Map control
MAP_Position.MapMode = mapModeSatellite
Syntax

Finding out the display mode of a Map control Hide the details

<Result> = <Map control>.MapMode
<Result>: Integer constant
Current display mode of the map in the Map control. This parameter can correspond to one of the following constants:
mapModePlanThe map displayed in the Map control is in road map mode.
mapModeSatelliteThe map displayed in the Map control is in satellite mode.
<Map control>: Control name
Name of the Map control to be used.

Modifying the display mode of a Map control Hide the details

<Map control>.MapMode = <New display mode>
<Map control>: Control name
Name of the Map control to be used.
<New display mode>: Integer constant
New display mode of the map in the Map control. This parameter can correspond to one of the following constants:
mapModePlanThe map displayed in the Map control is in road map mode.
mapModeSatelliteThe map displayed in the Map control is in satellite mode.
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.
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/04/2024

Send a report | Local help