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/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.
Versions 18 and later
iPhone/iPad This property is now available for Map controls in iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for Map controls in iPhone/iPad applications.
iPhone/iPad This property is now available for Map controls in iPhone/iPad applications.
Versions 20 and later
WINDEVWindows This property is now available for Map controls in WINDEV applications for Windows.
WEBDEV - Server codeWindowsLinux This property is now available for Map controls in WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available for Map controls in Browser mode.
New in version 20
WINDEVWindows This property is now available for Map controls in WINDEV applications for Windows.
WEBDEV - Server codeWindowsLinux This property is now available for Map controls in WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available for Map controls in Browser mode.
WINDEVWindows This property is now available for Map controls in WINDEV applications for Windows.
WEBDEV - Server codeWindowsLinux This property is now available for Map controls in WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available for Map controls in Browser mode.
Versions 21 and later
Universal Windows 10 App This property is now available on Map controls in Universal Windows 10 Apps.
New in version 21
Universal Windows 10 App This property is now available on Map controls in Universal Windows 10 Apps.
Universal Windows 10 App This property is now available on Map controls in Universal Windows 10 Apps.
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