UserLocationLayer
Class: UserLocationLayer
Displays the user's position on the map from a positioning stream.
Call update on each pose emission. Map level sync is automatic via
WemapMap's internal level coordinator. When accuracyRing is enabled,
a geographic circle of UserLocationUpdate.accuracy metres is drawn as
a GeoJSON fill/line layer beneath the marker — so it stays ground-anchored at
any zoom or tilt (HTML markers sized from screen metres-per-pixel do not).
WemapMap.remove() does not destroy this layer — call destroy
explicitly.
Constructors
Constructor
new UserLocationLayer(
wemapMap,options?):UserLocationLayer
Parameters
wemapMap
options?
Returns
UserLocationLayer