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
[Leaflet](https://leafletjs.com) and [OpenLayers](https://openlayers.org) utilizes [MapTiler Cloud Geocoding
26
-
API](https://www.maptiler.com/cloud/geocoding/). With this control, users of
27
-
mapping application can find any place on Earth (States, Cities, Streets, Addresses, POIs, ...) down
28
-
to the address level, restrict the search area to a specific country, highlight
29
-
searched results on the map, autocomplete words while typing, and much more.
23
+
The *MapTiler Geocoding control* implements a powerful search box in your maps or online forms, enabling your application users to find any place on Earth down to individual addresses. Use the search box control with [MapTiler SDK JS](https://docs.maptiler.com/sdk-js/) (or other map libraries like [Leaflet](https://docs.maptiler.com/leaflet/), [MapLibre GL JS](https://github.com/maplibre/maplibre-gl-js), [OpenLayers](https://docs.maptiler.com/openlayers/)).
24
+
25
+
## Why?
26
+
27
+
The _Geocoding control_ uses the [MapTiler Geocoding API](https://www.maptiler.com/cloud/geocoding/). You can use the API directly from your web or backend applications or use the [API Client JS](https://docs.maptiler.com/client-js/) library.
28
+
29
+
With this control, users of
30
+
mapping application can:
31
+
32
+
* Find any place on Earth (States, Cities, Streets, Addresses, POIs, ...) down
33
+
to the address level
34
+
* Find and identify objects or place names using a coordinate pair or a single mouse click (reverse geocoding)
35
+
* Restrict the search area to a specific country, bounding box, or proximity
36
+
* Highlight searched results on the map (marker or full geometry)
37
+
* Autocomplete words while typing
38
+
* and much more. Check out the [Geocoding Control API reference](https://docs.maptiler.com/sdk-js/modules/geocoding/api/api-reference/#options) to see all the options.
30
39
31
40
The component can be used as an ES module or UMD module with or without bundler.
32
41
33
42
Geocoding control is also provided as [React component](https://docs.maptiler.com/sdk-js/modules/geocoding/api/usage/react/) and [Svelte component](https://docs.maptiler.com/sdk-js/modules/geocoding/api/usage/svelte/) and [other libraries](#installation-and-more-usage-examples).
34
43
35
-
## Quick start
44
+
## Install
36
45
37
46
Install the Geocoding control unsing `npm`:
38
47
@@ -46,6 +55,8 @@ If you are using a this library in a Svelte project you can npm install with `--
0 commit comments