Skip to content

Commit

Permalink
version: 0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Rothenberg committed Mar 15, 2021
1 parent f026949 commit 200ec0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ MAPBOX_API_KEY=""
Currently, only a few configuration options are supported, although [Mapbox's forward geocoding API exposes a variety of settings.](https://github.com/mapbox/mapbox-sdk-js/blob/main/docs/services.md#forwardgeocode).

- `placeholder (string>)`: Placeholder text for the rendered picker.
- `countries (Array<string>)`: Limits results to the specified countries. Each item in the array should be an ISO 3166 alpha 2 country code.
- `countries (Array<string>)`: Limits results to the specified countries. Each item in the array should be an ISO 3166 alpha 2 country code.
- `featureTypes ("country" | "region" | "postcode" | "district" | "place" | "locality" | "neighborhood" | "address" | "poi" | "poi.landmark"):`: Filter results by feature types
- `language (Array<string>)`: Specify the language to use for response text and, for forward geocoding, query result weighting. Options are IETF language tags comprised of a mandatory ISO 639-1 language code and optionally one or more IETF subtags for country or script.

<img width="734" alt="Screen Shot 2021-03-15 at 7 45 53 AM" src="https://user-images.githubusercontent.com/5148596/111150336-5a1ce900-8564-11eb-8142-526809222a96.png">

Expand Down Expand Up @@ -71,7 +72,6 @@ address:
wikidata: Q30
short_code: us
text: "United States"

```
Please feel free to submit a pull request if you'd like to modify or improve this very basic serialization schema.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "mattrothenberg/statamic-mapbox-address",
"description": "A Mapbox autocomplete dropdown fieldtype for the Statamic Control Panel",
"license": "MIT",
"version": "0.4.0",
"version": "0.5.0",
"type": "statamic-addon",
"autoload": {
"psr-4": {
Expand Down

0 comments on commit 200ec0d

Please sign in to comment.