Select to view content in your preferred language

Is there a way to add a current location button to ArcGIS Online Web Application?

633
2
10-18-2013 05:10 AM
RichardLittlefield
Frequent Contributor
I have a Widows 7 Panasonic ToughPad for a field device. We are using ArcGIS Online for our mobile solution. Since Windows 7 doesn't have an app like iOS or Android, creating a Web Application is the only option.

If I create a Web Application with, for example the Basic Viewer there is no current location or locate me button. Is there a way to add one? Maybe somehow to access the code and add a locate button, that would use the device's GPS? I know the Parcel Viewer has a locate button. It works ok, not that great though. Even if there was a way to take the parcel viewer's locate button and put it into the other Web Applications, that would be better than nothing.
Tags (2)
0 Kudos
2 Replies
MikeMinami
Esri Notable Contributor
Instead of publishing a web application (in the Map Viewer of arcgis.com), you can download the code. Then, you can modify it and host it on your own web server.

I sure you can modify it to add a locate button, but I couldn't tell you how to do it. You might try posting on one of the API forums.

Thanks,

Mike
0 Kudos
RichardLittlefield
Frequent Contributor
Thanks for the advice Mike.

I've made a new post to the JavaScript API forum. Hopefully it can be found here:
http://forums.arcgis.com/threads/95346-How-to-add-current-location-button-to-AGO-Web-App
0 Kudos