PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..MapMode is used to find out and change the display mode of a map in a 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 the Map control in the iPhone/iPad applications.
New in version 18
iPhone/iPad This property is now available for the Map control in the iPhone/iPad applications.
iPhone/iPad This property is now available for the Map control in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available for the Map control in the applications in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available for the Map control in the applications in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available for the Map control in the applications in Universal Windows 10 App 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 Map control to use.

Modifying the display mode of a Map control Hide the details

<Map control>..MapMode = <New display mode>
<Map control>: Control name
Name of Map control to use.
<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