var geocoder = new Geocoder({ autoComplete: true, map: map }, dom.byId("search"));
Thanks....was looking at this example and it does not mention the autocompletehttps://developers.arcgis.com/javascript/jssamples/locator_simple.htmlAnd different code....confusing sometimes
var geocoder = new Geocoder({ map: map }, "search"); geocoder.startup();
var geocoder = new Geocoder({ autoComplete: true, map: map, }, dom.byId("search")); geocoder.startup();
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.