Skip to content

Commit

Permalink
multi touch events are active by default now
Browse files Browse the repository at this point in the history
  • Loading branch information
fdansv committed Nov 27, 2013
1 parent 19afa31 commit 0c51dab
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 18 deletions.
28 changes: 14 additions & 14 deletions src/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/src/com/mapbox/mapboxsdk/MapView.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public MapView(Context context, String URL){
this.setTileSource(tileSource);
eventsOverlay = new MapEventsOverlay(context, this);
this.getOverlays().add(eventsOverlay);
this.setMultiTouchControls(true);
}
/**
* Adds a marker to the default marker overlay
Expand Down
4 changes: 0 additions & 4 deletions test/src/com/mapbox/osmdroidtests/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ protected void onCreate(Bundle savedInstanceState) {
mapController.setCenter(startingPoint);
mapController.setZoom(7);

// Activates pan & zoom controls
mv.setMultiTouchControls(true);


// Adds an icon that shows location
myLocationOverlay = new MyLocationNewOverlay(this, mv);
myLocationOverlay.enableMyLocation();
Expand Down

0 comments on commit 0c51dab

Please sign in to comment.