Layer that automatically renders current user position (arrow and accuracy circle) on the map. Provides visibility and anchoring controls. Referenced from LocationView. More...
#include <com/navigine/idl/objc/NCUserLocationLayer.h>
Inherits NSObject.
Instance Methods | |
| (void) | - setVisible: |
| Shows or hides user location layer. | |
| (BOOL) | - isVisible |
| Returns true if user location layer is visible. | |
| (void) | - setAnchor: |
| Sets anchor point for user indicator in screen pixels. | |
| (void) | - resetAnchor |
| Resets anchor to default (center). | |
| (BOOL) | - anchorEnabled |
| Returns true if custom anchor is enabled. | |
Layer that automatically renders current user position (arrow and accuracy circle) on the map. Provides visibility and anchoring controls. Referenced from LocationView.
Definition at line 18 of file NCUserLocationLayer.h.
| - (BOOL) anchorEnabled |
Returns true if custom anchor is enabled.
Swift code snippet:
Objective C code snippet:
| - (BOOL) isVisible |
Returns true if user location layer is visible.
Swift code snippet:
Objective C code snippet:
| - (void) resetAnchor |
Resets anchor to default (center).
Swift code snippet:
Objective C code snippet:
| - (void) setAnchor: | (CGPoint) | anchor |
Sets anchor point for user indicator in screen pixels.
Swift code snippet:
Objective C code snippet:
| - (void) setVisible: | (BOOL) | visible |
Shows or hides user location layer.
Swift code snippet:
Objective C code snippet: