ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Map functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Warning
WINDEVWEBDEV - Browser code As of version 2025 Update 2, this function is no longer available. Google has implemented a new map style management mode. It is now necessary to define map styles in the Google platform and then use the <Map>.IDGgl function to manage map styles.
Returns the style used by the map displayed in the Map control.
New in SaaS
Android This function is only available if the card style has not been customized. Otherwise, this function has no effect.
Note: This feature is only available from WINDEV Suite SaaS 2025 - Update 3.
For more details, see Using new features exclusive to WINDEV Suite SaaS 2025.
Example
// Applique une style "rétro" à la carte
CARTE_MaCarte.ChangeStyle(mcsRetro)
...
let StyleUtilisé = CARTE_MaCarte.RécupèreStyle()
IF StyleUtilisé = mcsRetro THEN Trace("Style rétro")
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: wd300obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/18/2025

Send a report | Local help