File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed
src/main/java/com/graphhopper/android Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,15 @@ dependencies {
41
41
exclude group : ' org.apache.xmlgraphics' , module : ' xmlgraphics-commons'
42
42
}
43
43
44
- compile ' org.mapsforge:vtm:0.6 .0'
45
- compile ' org.mapsforge:vtm-android:0.6 .0'
46
- compile ' org.mapsforge:vtm-android:0.6 .0:natives-armeabi'
47
- compile ' org.mapsforge:vtm-android:0.6 .0:natives-armeabi-v7a'
48
- compile ' org.mapsforge:vtm-android:0.6 .0:natives-x86'
49
- compile ' org.mapsforge:vtm-jts:0.6 .0'
50
- compile ' org.mapsforge:vtm-themes:0.6 .0'
44
+ compile ' org.mapsforge:vtm:0.7 .0'
45
+ compile ' org.mapsforge:vtm-android:0.7 .0'
46
+ compile ' org.mapsforge:vtm-android:0.7 .0:natives-armeabi'
47
+ compile ' org.mapsforge:vtm-android:0.7 .0:natives-armeabi-v7a'
48
+ compile ' org.mapsforge:vtm-android:0.7 .0:natives-x86'
49
+ compile ' org.mapsforge:vtm-jts:0.7 .0'
50
+ compile ' org.mapsforge:vtm-themes:0.7 .0'
51
51
compile ' com.caverock:androidsvg:1.2.2-beta-1'
52
- compile ' com.vividsolutions:jts:1.13 '
52
+ compile ' com.vividsolutions:jts-core :1.14.0 '
53
53
54
54
compile ' org.slf4j:slf4j-api:1.7.21'
55
55
compile ' org.slf4j:slf4j-android:1.7.21'
Original file line number Diff line number Diff line change @@ -354,8 +354,8 @@ protected void onPostExecute(Object _ignore) {
354
354
void loadMap (File areaFolder ) {
355
355
logUser ("loading map" );
356
356
357
- // Long press receiver
358
- mapView .map ().layers ().add (new LongPressLayer (mapView .map ()));
357
+ // Map events receiver
358
+ mapView .map ().layers ().add (new MapEventsReceiver (mapView .map ()));
359
359
360
360
// Map file source
361
361
MapFileTileSource tileSource = new MapFileTileSource ();
@@ -393,7 +393,7 @@ protected void onPostExecute(Path o) {
393
393
logUser ("An error happened while creating graph:"
394
394
+ getErrorMessage ());
395
395
} else {
396
- logUser ("Finished loading graph. Press long to define where to start and end the route." );
396
+ logUser ("Finished loading graph. Long press to define where to start and end the route." );
397
397
}
398
398
399
399
finishPrepare ();
@@ -513,9 +513,9 @@ public interface MySpinnerListener {
513
513
void onSelect (String selectedArea , String selectedFile );
514
514
}
515
515
516
- class LongPressLayer extends Layer implements GestureListener {
516
+ class MapEventsReceiver extends Layer implements GestureListener {
517
517
518
- LongPressLayer (org .oscim .map .Map map ) {
518
+ MapEventsReceiver (org .oscim .map .Map map ) {
519
519
super (map );
520
520
}
521
521
You can’t perform that action at this time.
0 commit comments