kopia lustrzana https://github.com/onthegomap/planetiler
Update README.md (#140)
* Update README.md Fix "planetilerler" typo on "java" line. Nudge non-Java people into adding methods inside their new class, not outside it.pull/143/head
rodzic
313a695abb
commit
4c6d5e6aa7
|
@ -56,7 +56,8 @@ public class MyProfile implements Profile {
|
|||
}
|
||||
```
|
||||
|
||||
Then, implement the `processFeature()` method that determines what vector tile features to emit for each source feature.
|
||||
Then, implement the `processFeature()` method in your class (add the code before the last closing curly bracket)
|
||||
that determines what vector tile features to emit for each source feature.
|
||||
For example, to include a map of [toilets from OpenStreetMap](https://wiki.openstreetmap.org/wiki/Tag:amenity=toilets)
|
||||
at zoom level 12 and above:
|
||||
|
||||
|
@ -98,7 +99,7 @@ mvn clean package --file standalone.pom.xml
|
|||
And run the application:
|
||||
|
||||
```bash
|
||||
java -cp target/*-with-deps.jar com.onthegomap.planetilerler.examples.MyProfile
|
||||
java -cp target/*-with-deps.jar com.onthegomap.planetiler.examples.MyProfile
|
||||
```
|
||||
|
||||
Then, to inspect the tiles:
|
||||
|
|
Ładowanie…
Reference in New Issue