@@ -72,7 +72,7 @@ public class MainActivity extends Activity
72
72
private volatile boolean prepareInProgress = false ;
73
73
private volatile boolean shortestPathRunning = false ;
74
74
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 /" ;
76
76
private String prefixURL = fileListURL ;
77
77
private String downloadURL ;
78
78
private File mapsFolder ;
@@ -414,13 +414,13 @@ void loadMap( File areaFolder )
414
414
415
415
tileRendererLayer = new TileRendererLayer (tileCache , mapDataStore ,
416
416
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
+ };
424
424
tileRendererLayer .setTextScale (1.5f );
425
425
tileRendererLayer .setXmlRenderTheme (InternalRenderTheme .OSMARENDER );
426
426
mapView .getModel ().mapViewPosition .setMapPosition (new MapPosition (mapDataStore .boundingBox ().getCenterPoint (), (byte ) 15 ));
@@ -471,9 +471,9 @@ private Polyline createPolyline( GHResponse response )
471
471
paintStroke .setStyle (Style .STROKE );
472
472
paintStroke .setColor (Color .argb (200 , 0 , 0xCC , 0x33 ));
473
473
paintStroke .setDashPathEffect (new float []
474
- {
475
- 25 , 15
476
- });
474
+ {
475
+ 25 , 15
476
+ });
477
477
paintStroke .setStrokeWidth (8 );
478
478
479
479
// TODO: new mapsforge version wants an mapsforge-paint, not an android paint.
0 commit comments