do not trackuserlocation in location picker (#8466)

This commit is contained in:
Kerry
2022-05-03 12:03:56 +00:00
committed by GitHub
parent 12af3038a8
commit 1aaaad2f32
@@ -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);