Select to view content in your preferred language

How do I disable the ArcGIS World Geocoding Service from my search widget?

813
3
Jump to solution
05-10-2023 09:11 AM
ChesouyeCoye
Emerging Contributor

I had seen a answer before saying put in sources: [] and I did that but it did not work for me and I really dont want to see that option in my search. Please assist. 

 

Here is my code in code pen: 

https://codepen.io/chesouye/pen/poxVyXJ

0 Kudos
2 Solutions

Accepted Solutions
Egge-Jan_Pollé
MVP Regular Contributor
0 Kudos
3 Replies
ReneRubalcava
Honored Contributor
0 Kudos
Egge-Jan_Pollé
MVP Regular Contributor

Hi,

Search | API Reference | ArcGIS Maps SDK for JavaScript 4.26 | ArcGIS Developers

 

includeDefaultSources: false

 

Cheers,

Egge-Jan

 

0 Kudos
ChesouyeCoye
Emerging Contributor

Thank you guys so much! It works! 

0 Kudos