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
SomeoneElseOSM 2022-03-22 00:42:10 +00:00 zatwierdzone przez GitHub
rodzic 313a695abb
commit 4c6d5e6aa7
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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: