do not trackuserlocation in location picker (#8466)

This commit is contained in:
Kerry 2022-05-03 14:03:56 +02:00 committed by GitHub
parent 12af3038a8
commit 1aaaad2f32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -87,7 +87,7 @@ class LocationPicker extends React.Component<ILocationPickerProps, IState> {
positionOptions: { positionOptions: {
enableHighAccuracy: true, enableHighAccuracy: true,
}, },
trackUserLocation: true, trackUserLocation: false,
}); });
this.map.addControl(this.geolocate); this.map.addControl(this.geolocate);