ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
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
Returns the style used by the map displayed in the Map control.
Example
// Apply "retro" style to the map
MapChangeStyle(MAP_MyMap, mcsRetro)
...
let StyleUsed = MapGetStyle(MAP_MyMap)
IF StyleUsed = mcsRetro THEN Trace("Retro style")
Syntax
<Result> = MapGetStyle(<Map control>)
<Result>: Integer constant
Style used by the map displayed in the Map control:
mcsAubergine"Aubergine" style.
mcsCustom"Custom" style.
mcsDark"Dark" style.
mcsNight"Night" style.
mcsRetro"Retro" style.
mcsSilver"Silver" style.
mcsStandard"Standard" style.
<Map control>: Control name
Name of the Map control to be used. If this parameter corresponds to an empty string (""), the Map control to which the current event belongs will be used.
Remarks
To change the style of the map displayed by the Map control, use MapChangeStyle.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help