Select to view content in your preferred language

Custom geocoder on map widget search tool

217
3
Jump to solution
11-15-2024 10:19 AM
Labels (1)
Crinoid
Occasional Contributor

I'm creating an experience focused on a map widget. One of the map widget's Tools is Search, which creates a low-profile square search button in the corner of the map. I'd like to stick my own custom geocoder in this tool. I know you can use a custom geocoder using the dedicated Search widget, but that doesn't have the same low-profile appearance as the Search Tool, and it's not integrated into the map widget like the Search Tool is. How can I use my own geocoder rather than Esri's default one on the Search Tool?

0 Kudos
1 Solution

Accepted Solutions
JeffreyThompson2
MVP Regular Contributor
  1. If your geocoder is set as one of your organizational defaults in the Online/Enterprise Portal, it should be one of the things searched by the Search Tool.
  2. You could stick the Search Widget into a Widget Controller, so it collapses down to a single button when not needed.
GIS Developer
City of Arlington, Texas

View solution in original post

3 Replies
JeffreyThompson2
MVP Regular Contributor
  1. If your geocoder is set as one of your organizational defaults in the Online/Enterprise Portal, it should be one of the things searched by the Search Tool.
  2. You could stick the Search Widget into a Widget Controller, so it collapses down to a single button when not needed.
GIS Developer
City of Arlington, Texas
AustinAverill
Emerging Contributor

You used to be able to edit the locator per map, but when I went to look just now it appear they took function out. Jeffrey's suggestions would most applicable.

Crinoid
Occasional Contributor

I'll have to look at setting the geocoder as an organizational default. You can add the Search Widget as a separate widget, but you aren't able to seamlessly align it with the other default widgets like it is if you use the built-in Search. Thanks.