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

Commit

Permalink
[android] #3891 - make zoom levels public
Browse files Browse the repository at this point in the history
  • Loading branch information
Antonio Zugaldia committed Feb 20, 2016
1 parent ceac702 commit 4d4cf12
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ int getContentPaddingBottom() {
*/
@UiThread
@FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM)
double getZoom() {
public double getZoom() {
return mNativeMapView.getZoom();
}

Expand All @@ -702,7 +702,7 @@ int getContentPaddingBottom() {
* @param minZoom The new minimum zoom level.
*/
@UiThread
void setMinZoom(@FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM) double minZoom) {
public void setMinZoom(@FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM) double minZoom) {
mNativeMapView.setMinZoom(minZoom);
}

Expand Down Expand Up @@ -754,7 +754,7 @@ public double getMaxZoom() {
*
* @param enabled If true, the zoom controls are enabled.
*/
void setZoomControlsEnabled(boolean enabled) {
public void setZoomControlsEnabled(boolean enabled) {
mZoomButtonsController.setVisible(enabled);
}

Expand Down

0 comments on commit 4d4cf12

Please sign in to comment.