Skip to content

Commit 5ffe8d7

Browse files
authored
Merge pull request #94 from manaswinidas/improve
Fixes minor typos in README
2 parents 6cd8752 + 5f3329b commit 5ffe8d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The two major use cases for this library are:
2929
- `LngLat` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[Number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)>** a query point of longitude and latitude to query, `[lng, lat]`
3030
- `options` **[Object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)?**
3131
- `options.radius` **[Number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** the radius to query for features. If your radius is larger than
32-
the extent of an individual tile, include multiple nearby buffers to collect a realstic list of features (optional, default `0`)
32+
the extent of an individual tile, include multiple nearby buffers to collect a realistic list of features (optional, default `0`)
3333
- `options.limit` **[Number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** limit the number of results/features returned from the query. Minimum is 1, maximum is 1000 (to avoid pre allocating large amounts of memory) (optional, default `5`)
3434
- `options.layers` **[Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)>?** an array of layer string names to query from. Default is all layers.
3535
- `options.geometry` **[String](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)?** only return features of a particular geometry type. Can be `point`, `linestring`, or `polygon`.
@@ -70,7 +70,7 @@ The response object is a GeoJSON FeatureCollection with Point features containin
7070
- Extra properties including:
7171
- `tilequery.geometry_type` - either "Point", "Linestring", or "Polygon"
7272
- `tilequery.distance` in meters - if distance is `0.0`, the query point is _within_ the geometry (point in polygon)
73-
- `tilequery.layer` which layer the feature was a part of in the vecto tile buffer
73+
- `tilequery.layer` which layer the feature was a part of in the vector tile buffer
7474
- An `id` if it existed in the vector tile feature
7575

7676
Here's an example response

0 commit comments

Comments
 (0)