Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved Map Performance for OSM basemaps #1784

Merged
merged 10 commits into from
Jan 17, 2018
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ protected void onCreate(Bundle savedInstanceState) {

map.setMultiTouchControls(true);
map.setBuiltInZoomControls(true);
map.setTilesScaledToDpi(true);
}

marker = new Marker(map);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ protected void onCreate(Bundle savedInstanceState) {
helper = new MapHelper(this, map, this);
map.setMultiTouchControls(true);
map.setBuiltInZoomControls(true);
map.setTilesScaledToDpi(true);
map.setMapListener(mapViewListener);
overlayPointPathListener();
saveButton.setOnClickListener(new View.OnClickListener() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ protected void onCreate(Bundle savedInstanceState) {

mapView.setMultiTouchControls(true);
mapView.setBuiltInZoomControls(true);
mapView.setTilesScaledToDpi(true);
mapView.getController().setZoom(zoomLevel);

inflater = this.getLayoutInflater();
Expand Down Expand Up @@ -893,4 +894,4 @@ public void setMyLocationOverlay(MyLocationNewOverlay myLocationOverlay) {
public AlertDialog getErrorDialog() {
return errorDialog;
}
}
}