You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ The two major use cases for this library are:
29
29
-`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]`
-`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`)
33
33
-`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`)
34
34
-`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.
35
35
-`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
70
70
- Extra properties including:
71
71
-`tilequery.geometry_type` - either "Point", "Linestring", or "Polygon"
72
72
-`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
74
74
- An `id` if it existed in the vector tile feature
0 commit comments