Hi! When using lightship-map
, is there a way to detect how far zoomed in/out it is the user is with lightship-map-controls
? I’m planning to add text at certain points on the map using lightship-map-point
, so I was hoping to update the text’s rotation so it is always facing the user regardless of if they’re looking at the map from a first person view or birds-eye view.
You could use this look-at component, set the target to the id
of the camera and tilt to true
:
<a-text value="some text" look-at="target: #camera; tilt: true">