Skip to content

Commit 256464e

Browse files
committed
Documentation for multiple osm tags
1 parent b21dfe4 commit 256464e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Provider/Photon/Readme.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ You can combine multiple osm tag filters :
5353
```php
5454
$provider = new Geocoder\Provider\Photon\Photon($httpClient, 'https://your-photon-root-url');
5555
$reverseQuery = \Geocoder\Query\GeocodeQuery::create('Paris')
56-
->withData('osm_tag', ['tourism', ':!museum'])
56+
->withData('osm_tag', ['tourism:museum', 'tourism:gallery'])
5757
->withLimit(5);
58-
// Here we get 5 tourism results in Paris which are not museums
58+
// Here we get 5 tourism results in Paris which are either museum or art gallery
5959
$results = $provider->reverseQuery($reverseQuery);
6060
```
6161

0 commit comments

Comments
 (0)