A collection of resources for developers using the ArcGIS API for JavaScript to integrate what3words ArcGIS Locator.
There are multiple options for bringing the ArcGIS API for JavaScript into your app. The most common way is to use the AMD modules via ArcGIS CDN, however you can also use ES modules for local builds. The examples here will show how to integrate what3words ArcGIS locator to both the AMD modules via ArcGIS CDN and ES modules via npm. The advantage to use ES modules is that you can install the API locally for use with JavaScript frameworks such as React and Angular, and with module bundlers such as webpack.
In ArcGIS API for JavaScript the what3words ArcGIS Locator gives you programmatic accesss to:
- Convert a 3 word address to coordinates
- Convert coordinates to a 3 word address
- Autosuggest functionality which takes a slightly incorrect 3 word address, and suggests a list of valid 3 word addresses
- Batch geocode of a list of 3 word addresses
- What3words locator can be added to the search bar widget
- Determine the currently support 3 word address languages
- If you are new to ArcGIS start with the mapping APIs and location services guide;
- Get the what3words API key HERE.
Please check out our tutorial page HERE.
Both AMD and ES modules have 4 JavaScript examples with instructions on how to get started.
- what3words API Key
- What3words ArcGIS Locator
- what3words Developer Tutorials
- ArcGIS API for JavaScript
- AMD modules via ArcGIS CDN
- Build with ES modules
Find a bug or want to request a new feature? Please let us know by submitting an issue.
Anyone and everyone is welcome to contribute.
The MIT License (MIT)
A copy of the license is available in the repository's license file.