Remove buit in zoom control.
This commit is contained in:
parent
e42695544e
commit
e5709a7112
|
|
@ -45,7 +45,6 @@ import java.util.List;
|
||||||
import java.util.Observable;
|
import java.util.Observable;
|
||||||
import java.util.Observer;
|
import java.util.Observer;
|
||||||
|
|
||||||
import fr.chteufleur.mytrackingdog.models.Gpx;
|
|
||||||
import fr.chteufleur.mytrackingdog.models.beans.MyLocation;
|
import fr.chteufleur.mytrackingdog.models.beans.MyLocation;
|
||||||
import fr.chteufleur.mytrackingdog.models.beans.MyLocationArray;
|
import fr.chteufleur.mytrackingdog.models.beans.MyLocationArray;
|
||||||
import fr.chteufleur.mytrackingdog.services.ServiceGps;
|
import fr.chteufleur.mytrackingdog.services.ServiceGps;
|
||||||
|
|
@ -111,7 +110,7 @@ public class MainActivity extends AppCompatActivity implements IOrientationConsu
|
||||||
map.setTileSource(TileSourceFactory.OpenTopo);
|
map.setTileSource(TileSourceFactory.OpenTopo);
|
||||||
|
|
||||||
// Add the ability to zoom with 2 fingers
|
// Add the ability to zoom with 2 fingers
|
||||||
map.setBuiltInZoomControls(true);
|
map.setBuiltInZoomControls(false);
|
||||||
map.setMultiTouchControls(true);
|
map.setMultiTouchControls(true);
|
||||||
|
|
||||||
// Center the map on a lat/lon
|
// Center the map on a lat/lon
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:textColor="@android:color/white"
|
android:textColor="@android:color/white"
|
||||||
android:background="#77000000"
|
android:background="#77000000"
|
||||||
android:layout_height="wrap_content"></TextView>
|
android:layout_height="wrap_content" />
|
||||||
</android.support.design.widget.AppBarLayout>
|
</android.support.design.widget.AppBarLayout>
|
||||||
|
|
||||||
<org.osmdroid.views.MapView android:id="@+id/map"
|
<org.osmdroid.views.MapView android:id="@+id/map"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue