geocode: [{ url: location.protocol + "//geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer"}, { url: location.protocol + "//gis.linncounty.org/arcgis/rest/services/PublicBase/LocatorComposite/GeocodeServer", name: "LocatorComposite", singleLineFieldName: "SingleLine", placefinding: true, placeholder: "Find an Address or GPN" }]
var options = { map: _self.options.map, zoomScale: 400, theme: 'modernGrey', autoComplete:true };
geocode: [{ url: location.protocol + "//gis.linncounty.org/arcgis/rest/services/PublicBase/LocatorComposite/GeocodeServer", name: "LocatorComposite", singleLineFieldName: "SingleLine", placefinding: true, placeholder: "Find an Address or GPN" }]
geocode: [{ url: location.protocol + "http://gis.linncounty.org/arcgis/rest/services/PublicBase/LocatorComposite/GeocodeServer", name: "LocatorComposite", singleLineFieldName: "Single Line Input", placefinding: true, placeholder: "Find an Address or GPN" }]
Thanks a lot Ian! Geocoder works like expected now.Would you happen to know how to set the zoom level when an address is selected?And yes, I am located in Cedar Rapids, working for Linn County. It's a small world!
Do I need to replace any values I currently have?
There is a place within the commonConfig.js file to enter a URL for a geocode service, however when I enter ours, the search box disappears.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.