ReadonlyapiReadonlycapabilityReadonlyeventReadonlyextentReadonlymaxGeocoding provider every operation runs against. Mutable so a migrated app
can attach one after construction (locator.provider = photonGeocodingProvider(...)),
which is the single assisted step the codemod cannot perform for you.
ReadonlyrequestReadonlyurltrue when the configured provider declares the suggest capability.
Client-side batch geocode. ArcGIS addressesToLocations posts one batch to
a locator; the provider contract has no batch endpoint, so each address is
geocoded individually and the best candidate is returned with ResultID
carried through from OBJECTID.
Forward-geocode a single address into ArcGIS-shaped candidates.
Reverse-geocode a point. Mirrors ArcGIS by rejecting when the provider
finds no address rather than resolving to null.
Typeahead suggestions. Providers without the suggest capability throw
HonuaCapabilityNotSupportedError under "strict" and resolve to []
under "degraded" — the miss is never faked with a forward geocode.
Project this locator as a SearchCompat source — the honua-maplibre
replacement for the ArcGIS LocatorSearchSource Search backend.
Optionalcallback: ((locator: LocatorCompat) => void)
Drop-in replacement for ArcGIS
esri/tasks/Locator/@arcgis/core/rest/locator, executed against a caller-configured GeocodingProvider.Example