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

Commit

Permalink
[android] #3891 - revert map changes to allow rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
zugaldia committed Feb 25, 2016
2 parents e0746f0 + f24d2d7 commit 5bc0bfe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -619,26 +619,11 @@ int getContentPaddingBottom() {
// Zoom
//

/**
* Returns the current zoom level of the map view.
*
* @return The current zoom.
*/
@UiThread
@FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM)
public double getZoom() {
double getZoom() {
return mNativeMapView.getZoom();
}

/**
* <p>
* Sets the minimum zoom level the map can be displayed at.
* </p>
*
* @param minZoom The new minimum zoom level.
*/
@UiThread
public void setMinZoom(@FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM) double minZoom) {
void setMinZoom(@FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxConstants.MAXIMUM_ZOOM) double minZoom) {
mNativeMapView.setMinZoom(minZoom);
}

Expand All @@ -654,19 +639,7 @@ void setMaxZoom(@FloatRange(from = MapboxConstants.MINIMUM_ZOOM, to = MapboxCons
return mNativeMapView.getMaxZoom();
}

/**
* <p>
* Sets whether the zoom controls are enabled.
* If enabled, the zoom controls are a pair of buttons
* (one for zooming in, one for zooming out) that appear on the screen.
* When pressed, they cause the camera to zoom in (or out) by one zoom level.
* If disabled, the zoom controls are not shown.
* </p>
* By default the zoom controls are enabled if the device is only single touch capable;
*
* @param enabled If true, the zoom controls are enabled.
*/
public void setZoomControlsEnabled(boolean enabled) {
void setZoomControlsEnabled(boolean enabled) {
mZoomButtonsController.setVisible(enabled);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package com.mapbox.mapboxsdk.maps;

import android.content.Context;

import android.location.Location;
import android.os.Bundle;
import android.os.SystemClock;
Expand Down
2 changes: 1 addition & 1 deletion platform/ios/test/KIF
Submodule KIF updated 43 files
+3 −17 .travis.yml
+0 −31 Additions/CALayer-KIFAdditions.h
+0 −52 Additions/CALayer-KIFAdditions.m
+5 −27 Additions/UIApplication-KIFAdditions.m
+0 −1 Additions/UIEvent+KIFAdditions.m
+0 −1 Additions/UITouch-KIFAdditions.m
+0 −14 Additions/UIView-KIFAdditions.m
+1 −1 Classes/IOHIDEvent+KIF.h
+0 −13 Classes/KIFAccessibilityEnabler.h
+0 −117 Classes/KIFAccessibilityEnabler.m
+0 −6 Classes/KIFSystemTestActor.h
+0 −6 Classes/KIFSystemTestActor.m
+0 −2 Classes/KIFTestActor.h
+42 −10 Classes/KIFTestActor.m
+2 −43 Classes/KIFUITestActor.h
+22 −82 Classes/KIFUITestActor.m
+1 −55 Classes/UIAutomationHelper.m
+76 −65 Documentation/Examples/Testable Swift/Testable Swift.xcodeproj/project.pbxproj
+7 −12 Documentation/Examples/Testable Swift/Testable Swift.xcodeproj/xcshareddata/xcschemes/Testable Swift.xcscheme
+1 −1 Documentation/Examples/Testable Swift/Testable Swift/Info.plist
+1 −1 Documentation/Examples/Testable Swift/Testable Swift/MasterViewController.swift
+1 −1 Documentation/Examples/Testable Swift/Testable SwiftTests/Info.plist
+2 −2 Documentation/Examples/Testable Swift/Testable SwiftTests/SimpleSwiftTest.swift
+0 −15 IdentifierTests/KIFUITestActor-IdentifierTests.h
+0 −20 IdentifierTests/KIFUITestActor-IdentifierTests.m
+0 −38 KIF Tests/AccessibilityIdentifierPullToRefreshTests.m
+2 −12 KIF Tests/BackgroundTests.m
+2 −6 KIF Tests/GestureTests.m
+11 −27 KIF Tests/ModalViewTests.m
+0 −45 KIF Tests/PullToRefreshTests.m
+7 −9 KIF Tests/SpecificControlTests.m
+0 −11 KIF Tests/SystemAlertTests.m
+2 −0 KIF Tests/TableViewTests.m
+0 −75 KIF Tests/UIApplicationKIFAdditionsTests.m
+ KIF XCTests-Prefix.gcda
+3 −3 KIF.podspec
+1 −54 KIF.xcodeproj/project.pbxproj
+4 −4 KIF.xcodeproj/xcshareddata/xcschemes/KIF.xcscheme
+2 −2 LICENSE
+11 −11 README.md
+1 −26 Test Host/TableViewController.m
+1 −51 Test Host/TestSuiteViewController.m
+0 −3 Test Host/en.lproj/MainStoryboard.storyboard

0 comments on commit 5bc0bfe

Please sign in to comment.