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
The SearchView uses a LocatorTask which has the option to use an ApiKey. It is not uncommon to want an ApiKey that is specific to just search and geocoding that is separate from requiring a login.
It would be nice to be able to set the ApiKey on the SearchView so it can be set on the LocatorTask.
I tried to set on the Locator by getting a reference from the SearchViewModel, but I still get a login screen. I believe this needs to be set when the LocatorTask is initially created
Workflow
Open App > Cancel Login to AGOL > User could still do an address search because an ApiKey is assigned to SearchView
The text was updated successfully, but these errors were encountered:
ramtechjoe
changed the title
Add Ability to Set ApiKey on SearchView
Request: Add Ability to Set ApiKey on SearchView
Apr 30, 2025
Feature Request:
The SearchView uses a LocatorTask which has the option to use an ApiKey. It is not uncommon to want an ApiKey that is specific to just search and geocoding that is separate from requiring a login.
It would be nice to be able to set the ApiKey on the SearchView so it can be set on the LocatorTask.
I tried to set on the Locator by getting a reference from the SearchViewModel, but I still get a login screen. I believe this needs to be set when the LocatorTask is initially created
Workflow
Open App > Cancel Login to AGOL > User could still do an address search because an ApiKey is assigned to SearchView
The text was updated successfully, but these errors were encountered: