Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
MapView.IsUserLocationVisible
Whether the device’s current location is visible in the map view.
Component |
Version |
macOS |
Windows |
Linux |
Server |
iOS SDK |
MapView
|
9.0 |
✅ Yes
|
❌ No
|
❌ No
|
❌ No
|
✅ Yes
|
MBS( "MapView.IsUserLocationVisible"; MapView )
More
MBS(
"MapView.IsUserLocationVisible"; /* Whether the device’s current location is visible in the map view. */
$MapView) /* The map view reference number.e.g. $$MapView */
Less
Parameters
Parameter |
Description |
Example |
MapView |
The map view reference number. |
$$MapView |
Result
Returns OK or error.
Description
Whether the device’s current location is visible in the map view.
This property tells you whether the icon used to represent the user’s current location is visible in the map view. When determining whether the current location is visible, this property factors in the horizontal accuracy of the location data. Specifically, if the rectangle represented by the user’s current location plus or minus minus the horizontal accuracy of that location intersects the map’s visible rectangle, this property contains the value 1. If that location rectangle does not intersect the map’s visible rectangle, this property contains the value 0.
If the user’s location cannot be determined, this property contains the value 0.
See also
Created 14th January 2019, last changed 15th January 2019
MapView.GetZoomLevel
-
MapView.MouseCoordinate
Feedback: Report problem or ask question.