Skip to content

Request: Add Ability to Set ApiKey on SearchView #637

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ramtechjoe opened this issue Apr 29, 2025 · 0 comments
Open

Request: Add Ability to Set ApiKey on SearchView #637

ramtechjoe opened this issue Apr 29, 2025 · 0 comments

Comments

@ramtechjoe
Copy link

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

@ramtechjoe ramtechjoe changed the title Add Ability to Set ApiKey on SearchView Request: Add Ability to Set ApiKey on SearchView Apr 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant