Skip to content

Commit

Permalink
Dont rotate map to north, when drag while navigating.
Browse files Browse the repository at this point in the history
See #143
  • Loading branch information
Starcommander committed Apr 19, 2020
1 parent cfb8d7b commit 8c4eafe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ public void centerPointOnMap(GeoPoint latLong, int zoomLevel, float bearing, flo
mapView.map().animator().animateTo(300, tmpPos);
}

public void resetBearing(float bearing, float tilt)
public void resetTilt(float tilt)
{
mapView.map().setMapPosition(mapView.map().getMapPosition().setBearing(bearing).setTilt(tilt));
mapView.map().setMapPosition(mapView.map().getMapPosition().setTilt(tilt));
}

/**
Expand Down

0 comments on commit 8c4eafe

Please sign in to comment.