The Esri Community
Services & Programs
GeoNet Resource Hub
to create and rate content, and to follow, bookmark, and share content with other members.
Social Media Template: Using our own geolocation service
Discussion created by
on Nov 1, 2012
on Nov 1, 2012 by JGravois-esristaff
Show 0 Likes
When I tried changing the locatorURL on the common.js file on social media template downloaded form arcgis.com it does not work. Can somebody help me with this.
Thanks in advance.
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Nov 1, 2012 8:14 AM
if you look at the function locateQuery (inside main.js), you can see that the author of this sample isn't using a locator task from our API, but rather
to pass a query to the geocoding service. im guessing the reason for this has something to do with supporting autocomplete.
unfortunately, you'll have to get a pretty good grasp on the logic of that code if you're going to take a stab at substituting your own geocoding service.
Show 0 Likes
Retrieving data ...
Catchment areas with friction surface
Routing/navigation software recommendations?
Web AppBuilder - The custom widgets list (4/5/2018)
What's the difference between a Feature Layer (hosted, view) and a Feature Layer?
What could be the best solution to utilise the available data in petroleum exploration.