PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

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
The Compass property is used to:
  • display or hide the compass on a Map control,
  • determine whether the compass is displayed on a Map control.
Caution: The compass is only displayed when the map is rotated.
Example
// Display compass
MAP_MyMap.Compass = True
Syntax

Determining whether the compass is displayed on a Map control Hide the details

<Result> = <Map control>.Compass
<Result>: Boolean
  • True if the compass is displayed on the Map control,
  • False otherwise.
<Map control>: Control name
Name of Map control used.

Displaying or hiding the compass on a Map control Hide the details

<Map control>.Compass = <Authorization>
<Map control>: Control name
Name of Map control used.
<Authorization>: Boolean
  • True if the compass should be displayed on the Map control,
  • False otherwise.
Minimum version required
  • Version 26
Comments
Click [Add] to post a comment