|
|
|
|
MapGetStyle (Function) In french: CarteRécupèreStyle Returns the style used by the map displayed in the Map control. // 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
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|