-
26 Jun 2012 2:08 AM #1
allowHighAccuracy in Geolocation to use GPS module
allowHighAccuracy in Geolocation to use GPS module
REQUIRED INFORMATION ST version tested:
- 2.0.1.1
- Chrome
- Android 4.0.4
- GPS module not not being activated when using the Geolocation API
- Build something with Geolocator and allowHighAccuracy = true
- GPS Module enabled with according accuracy
- only network location provider activated
HELPFUL INFORMATIONScreenshot or Video:Code:geo = Ext.create('Ext.util.Geolocation', { autoUpdate: true, allowHighAccuracy: true, frequency: 5000, timeout: 30000, listeners: { locationupdate: function(geo) { var map = Ext.getCmp('map'); latlon = new google.maps.LatLng(geo.getLatitude(), geo.getLongitude()); marker = new google.maps.Marker({ position: latlon, map: map.getMap() }); }, locationerror: function(geo, bTimeout, bPermissionDenied, bLocationUnavailable, message) { if(bTimeout){ alert('Timeout occurred.'); } else { alert('Error occurred.'+message); } } } });- see quote
- Path: \sdk\src\util
File: Geolocation.js
Line: 375
-
26 Jun 2012 2:40 AM #2
Sorry, just saw that this bug has been solved for the next release.
Click here
Any information on when about the new version is going to be released?
-
26 Jun 2012 5:53 AM #3Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 34,085
- Vote Rating
- 453
It will be part of 2.0.2
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
Looks like we can't reproduce the issue or there's a problem in the test case provided.



Reply With Quote