diff --git a/PocketMaps/app/src/main/java/com/junjunguo/pocketmaps/map/MapHandler.java b/PocketMaps/app/src/main/java/com/junjunguo/pocketmaps/map/MapHandler.java index bdb6db7..040cdfd 100644 --- a/PocketMaps/app/src/main/java/com/junjunguo/pocketmaps/map/MapHandler.java +++ b/PocketMaps/app/src/main/java/com/junjunguo/pocketmaps/map/MapHandler.java @@ -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)); } /**