Locators: [{ DisplayText: "Search Address", //Set placeholder text DefaultValue: "139 W Porter Ave Naperville IL 60540", // Set default address to search. LocatorParameters: ["SingleLine"], // Set Locator fields (fields to be used for searching). LocatorURL: "http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer", CandidateFields: "Addr_type, Postal, Score, Match_addr", //Set which fields are returned in results DisplayField: "${Match_addr}", //Set which field from results is displayed AddressMatchScore: 80, //Set minimum score to be considered a match LocatorFieldName: 'Addr_type', //The returned field which specifies match type (specific locator within composite) LocatorFieldValues: ["StreetAddress", "StreetName", "Postal", "POI"] //List of acceptable individual locators (within composite) }]
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.