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
MAP_MyMap.ChangeStyle(mcsRetro)
...
let StyleUsed = MAP_MyMap.GetStyle()
IF StyleUsed = mcsRetro THEN Trace("Retro style")
Syntax
<Result> = <Map control>.GetStyle()
<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.
Remarks
To change the style of the map displayed by the Map control, use <Map>.ChangeStyle.
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: 06/19/2023

Send a report | Local help