Select to view content in your preferred language

Change the dot color from the ArcGIS World Geocoding Service Search

266
1
05-08-2025 06:26 AM
Labels (2)
GISAdminGeorgeWeiss
New Contributor

Guys! I created an interactive web application through experience builder (I've done MANY and still have this issue)

When typing in coordinates to your fully-functioning application using the ESRI World Geocoder, there is a helpful small circle that indicates where your location is.

My question: HOW DO YOU CHANGE THE SIZE AND COLOR OF THIS DOT?!

 

Thanks mappers 🙂

0 Kudos
1 Reply
DanielFox1
Esri Regular Contributor

Hi @GISAdminGeorgeWeiss 

If you're using the standard Experience Builder, there’s no built-in setting to style this dot. But with Developer Edition, you can override it by editing the widget’s source code.

In Developer 

1. Locate the Search Widget Code
Find the part of the widget that handles search results—usually in a file like:

/client/your-app/widgets/search/src/runtime/widget.tsx

2. Modify the Marker Symbol
Look for the section where the result graphic is created. Replace the default symbol with your own:

new SimpleMarkerSymbol({
color: [0, 120, 255, 0.9], // Bright blue with 90% opacity
size: 14, // Larger dot
outline: {
color: [255, 255, 255, 1], // White border
width: 2
}
});

You can adjust the colour/size and outline

3. Rebuild and Deploy, this should then reflect the changes made. 

I hope this helps apologises there is no out of the box configuration for this. 

0 Kudos