Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
changing the default size for approx ring border when zoomed out (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
Neel Mistry authored Sep 11, 2020
1 parent 70a26e8 commit a2cbab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/src/MGLFaux3DUserLocationAnnotationView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ - (void)drawApproximate
if (_approximateLayer && (_oldZoom != self.mapView.zoomLevel || _oldHorizontalAccuracy != self.userLocation.location.horizontalAccuracy))
{
if (self.mapView.zoomLevel < MGLUserLocationApproximateZoomThreshold) {
borderSize = 3;
borderSize = 1.0;
}
_approximateLayer.borderWidth = borderSize;

Expand Down

0 comments on commit a2cbab0

Please sign in to comment.