Uses ESRI API from https://github.com/Esri/html5-geolocation-tool-js
Includes two apps for testing HTML5 geolocation on different devices. It lets you track your location as well as play with the different HTML5 Geolocation properties. This can be used on a desktop browser, mobile browser or within a PhoneGap project.
index.html - let's you experiment with all the different settings as well as accumulating track points.
data-test.html - is an experimental app that demonstrates a simple algorithm approach to helping users determine the best single location.
Main View:
Settings View:
Settings View (cont'd):
- Displays location on map.
- Displays HTML5 geolocation properties (e.g. lat/lon, timestamp, etc)
- Let's you configure and try out different scenarios by changing the geolocation properties.
- Modify geolocation properties via the Settings menu.
- Internet browser: desktop, laptop, phone or tablet
- Mapping Library ArcGIS API for JavaScript
- Internet connection by ethernet, cellular network and/or Wifi
- Some experience with HTML/JavaScript.
Copyright 2015 Esri
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
A copy of the license is available in the repository's license.txt file.
[](Esri Tags: JavaScript HTML5 GPS Test ArcGIS Location Tools) [](Esri Language: JavaScript)