Geolocation is the identification of the real-world geographic location of an object, such as a cell phone or an Internet-connected computer terminal. Geolocation may refer to the practice of assessing the location, or to the actual assessed location.
Questions tagged [compass-geolocation]
333 questions
4
votes
2 answers
Can I emulate a compass on Android
I want to test a compass app on the emulator. Is this possible or do I have to use a real device. Also I do not want to use gps.

technoSpino
- 510
- 4
- 12
4
votes
1 answer
iphone compass interference detection
How can I tell from my app if the compass has interference and ask the user to re-calibrate it?
I want to get the same behavior as the google maps app has when there are compass interferences.
Thanks.

Nir Levy
- 4,613
- 2
- 34
- 47
4
votes
3 answers
Detect the iPhone rotation spin?
I want to create an application could detect the number of spin when user rotates the iPhone device. Currently, I am using the Compass API to get the angle and try many ways to detect spin. Below is the list of solutions that I've tried:
1/ Create 2…

trandangkhoa
- 41
- 2
4
votes
0 answers
How to show blue arrow in Android app like Google Maps?
How to achieve that of the Google Maps app for android (below figure) for my own app which contains a map?
Updates
It appears I can achieve my goal using MyLocationOverlay + MapView according to this. However, it is not very clear how to make…

ericn
- 12,476
- 16
- 84
- 127
4
votes
3 answers
Javascript v3 Google maps rotate map
I cant seem to find anything about this anywhere. Its because i am trying to make the map rotate around the user. google maps javascript v3 doesnt seem to be doing this. wanting to ask google personally, their homepage directed me to stackoverflow.…

aZtraL-EnForceR
- 1,781
- 2
- 16
- 19
4
votes
2 answers
iPhone: offset with compass heading values between landscape right and landscape left
To be clear my problem is not reading the heading values in landscape right or left. It works fine I'm using a location manager and subtract 90° to read the heading value in landscape right and 270° in landscape left, by default the device is always…

Tíbó
- 1,188
- 13
- 28
4
votes
1 answer
Phonegap with Compass and GPS coordinates
I am working on a project that takes the compass script from Phonegap and i would like to connect it to my currect GPS position and than point to a fixed GPS position (like a restaurant etc.) Basicly the arrow must be pointing in the direction of…

Ewald Bos
- 1,560
- 1
- 20
- 33
3
votes
3 answers
Android APIs for Augmented reality - gps and compass
I am building an Augmented Reality app in which I am stuck with integrating GPS and compass. Are there any APIs out there to achieve this goal?

user1200342
- 31
- 2
3
votes
1 answer
Why I need to shake my phone to get the correct "Compass-Data"?
I have a little problem with the "Compass".
I want to show on the screen in which direction I am looking with the camera.
For that I have a CameraView and an Activity in running in landscape mode.
Now I try to get the direction with the sensors but…

Informatic0re
- 6,300
- 5
- 41
- 56
3
votes
1 answer
Kalman filter with complete data set?
I am looking for a way to combine data from a compass and gyro in order to determine attitude after the fact. I will be working with a complete data set in which the 3D compass and gyro readings have been recorded at regular intervals, but I want to…

Michael Cooper
- 2,255
- 2
- 18
- 21
3
votes
2 answers
Access device compass from web app with Javascript
Is it possible to access the compass with Javascript on an iphone/ android device from a web app? Have been looking all over the net for hours I know you can access the accelerometer with
window.ondevicemotion = function(event)
Does anyone know if…

Christopher
- 12,057
- 9
- 31
- 37
3
votes
1 answer
Rotate SCNNode to North without permission for location tracking
We would like to rotate a SCNNode so as to match with the North direction.
Arkit allows to align its z-axis with the North but this requires user permission for location tracking, and we don't want to ask for it.
see gravityandheading
As a…

Gogo123
- 655
- 1
- 4
- 11
3
votes
3 answers
How to adjust the compass to the map in osmdroid
How can I snap the direction of the compass to the direction of the map?
I add a Compass to my MapView and enable map rotation like this:
MapView mapView = findViewById(R.id.mapView);
// Enable & add compass
CompassOverlay compassOverlay = new…

Selphiron
- 897
- 1
- 12
- 30
3
votes
3 answers
Showing an arrow that is heading a specific location
Does anyone know how to place out an arrow that points to a specific annotation depending on my current heading. For example; I want the arrow to be vertical when the current heading is the same as the annotation's coordinates.
I am offering 50$ to…

Krismutt
- 191
- 2
- 16
3
votes
1 answer
How to find the compass heading in an iOS web app?
Does anyone know how to find the compass heading of an iOS device from within a web app? The new Device Orientation APIs supported in iOS 4.2 only seem to provide relative changes in rotation. Was anyone able to find a workaround to this? (I also…

Matt
- 1,710
- 3
- 14
- 15