Skip to content

Commit 90af63d

Browse files
committed
improve docs insprired by graphhopper#1004
1 parent 06a81bc commit 90af63d

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,18 @@ Windows, BSD, Solaris, Raspberry Pi, Android, Blackberry and even iOS.
8383

8484
### Maven
8585

86-
Embed the core of GraphHopper into your Java application via the following
87-
snippet
86+
Embed GraphHopper with OpenStreetMap support into your Java application via the following snippet
87+
88+
```xml
89+
<dependency>
90+
<groupId>com.graphhopper</groupId>
91+
<artifactId>graphhopper-reader-osm</artifactId>
92+
<version>0.8.2</version>
93+
</dependency>
94+
```
95+
96+
If you want to customize the import process or you don't need OSM import like
97+
on [Android](./docs/android/index.md), then use:
8898

8999
```xml
90100
<dependency>

docs/core/routing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Routing via Java API
22

3+
To use the following examples you need to specify the dependency in
4+
your [Maven config](/README.md#Maven) correctly.
5+
36
To do routing in your Java code you'll need just a few lines of code:
47

58
```java

0 commit comments

Comments
 (0)