mapbox-gl-js
mapbox-gl-js copied to clipboard
User geolocate dot is fully visible only if the pitch is straight down.
mapbox-gl-js version: ^2.9.2
Browser: iOS 15.4.1 Safari
Steps to Trigger Behavior
- Implement GeolocateControl
map.addControl(new GeolocateControl(
{
positionOptions {
enableHighAccuracy: true
},
trackUserLocation: true,
showUserHeading: true
}));
- Run tracking
- Change map pitch by touch
Expected Behavior
Dot is fully visible in any pitch.
Actual Behavior
Dot is fully visible only if pitch is straight down