Skip to content

Commit cc19543

Browse files
author
Peter
committed
android: moving back to 0.5 URL
1 parent 5976d5e commit cc19543

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

android/app/src/main/java/com/graphhopper/android/MainActivity.java

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class MainActivity extends Activity
7272
private volatile boolean prepareInProgress = false;
7373
private volatile boolean shortestPathRunning = false;
7474
private String currentArea = "berlin";
75-
private String fileListURL = "https://graphhopper.com/public/maps/0.6/";
75+
private String fileListURL = "https://graphhopper.com/public/maps/0.5/";
7676
private String prefixURL = fileListURL;
7777
private String downloadURL;
7878
private File mapsFolder;
@@ -414,13 +414,13 @@ void loadMap( File areaFolder )
414414

415415
tileRendererLayer = new TileRendererLayer(tileCache, mapDataStore,
416416
mapView.getModel().mapViewPosition, false, true, AndroidGraphicFactory.INSTANCE)
417-
{
418-
@Override
419-
public boolean onLongPress( LatLong tapLatLong, Point layerXY, Point tapXY )
420-
{
421-
return onMapTap(tapLatLong, layerXY, tapXY);
422-
}
423-
};
417+
{
418+
@Override
419+
public boolean onLongPress( LatLong tapLatLong, Point layerXY, Point tapXY )
420+
{
421+
return onMapTap(tapLatLong, layerXY, tapXY);
422+
}
423+
};
424424
tileRendererLayer.setTextScale(1.5f);
425425
tileRendererLayer.setXmlRenderTheme(InternalRenderTheme.OSMARENDER);
426426
mapView.getModel().mapViewPosition.setMapPosition(new MapPosition(mapDataStore.boundingBox().getCenterPoint(), (byte) 15));
@@ -471,9 +471,9 @@ private Polyline createPolyline( GHResponse response )
471471
paintStroke.setStyle(Style.STROKE);
472472
paintStroke.setColor(Color.argb(200, 0, 0xCC, 0x33));
473473
paintStroke.setDashPathEffect(new float[]
474-
{
475-
25, 15
476-
});
474+
{
475+
25, 15
476+
});
477477
paintStroke.setStrokeWidth(8);
478478

479479
// TODO: new mapsforge version wants an mapsforge-paint, not an android paint.

0 commit comments

Comments
 (0)