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
2
votes
1 answer
How to make compass point to my particular latitude longitude location based on my current location?
I'm developing an android application where I want the compass to point to a particular latitude longitude position instead of the usual north location. Can anyone suggest how to implement this. I've developed an application which points to north…

Rohan K
- 1,608
- 4
- 21
- 32
2
votes
0 answers
Android: Implement azimuth orientation sliding view
I am trying to create a ruler view based on azimuth compass orientation value. The idea is to place a small view at the bottom of a camera view which slides to the left or to the right according to the azimuth value obtained from the "orientation"…

MobileCushion
- 7,065
- 7
- 42
- 62
2
votes
2 answers
To show heading direction on blue pulsating dot(user's current location) without loosing accuracy circle
I have a CLLocation manager as follows
myLocation = [[CLLocationManager alloc] init];
myLocation.desiredAccuracy = kCLLocationAccuracyBestForNavigation ;
myLocation.delegate=self;
if device supports heading information then method is called…

alekhine
- 1,600
- 4
- 20
- 45
2
votes
1 answer
Get angle between phone's z axis and the magnetic north pole (instead of y axis)
I am aware how to get the orientation angle between the y-axis of the phone and the magnetic north using the getOrientation method (as described here https://developer.android.com/guide/topics/sensors/sensors_position).
However, I would need the…

Mike
- 125
- 1
- 12
2
votes
0 answers
Create SVG objects with javascript without disabling IOS compass access
Literally every single working example I've found using javascript to create SVG elements (such as a circle) references "http://www.w3.org/2000/svg".
The problem is that you can't access the compass in IOS (mobile devices) unless the webpage and…

Dustin Soodak
- 553
- 5
- 15
2
votes
2 answers
How to create a compass where the needle always point to a certain GPS position? (in Android)
I would like to write a app in Android where you see a pointer that always point to a certain GPS position. So when you are turning your phone or driving around the pointer will still point to the gps position.
But I have no idea how to do the…

Peter Fortuin
- 5,041
- 8
- 41
- 69
2
votes
1 answer
Is this the way to make a compass?
A part of one of my iPhone applications needs to display a compass which points to a location. It's not north - it's a location (using latitude and longitude).
I have come up with the solution below but would like to ask you if this is the best way…

simonbs
- 7,932
- 13
- 69
- 115
2
votes
2 answers
iPhone 3D compass
I am trying to build an app for the iPhone 4 which enables the user to "point" at a hardcoded destination and a dot appears where the destination is located.
First, i use the compass to make a horizontal compass(this will cover the left/right…
user328146
2
votes
4 answers
How precise are iPhone 4 compass API readings?
I'd like to develop an iPhone 4 app that uses the compass API, but I need readings at least as precise as a half a degree (eg. 100.5).
What kind of precision does the compass API provide?

Chad Johnson
- 21,215
- 34
- 109
- 207
2
votes
3 answers
How to rotate compass needle smoothly
I have done the coding for rotating a needle in a compass using:
NeedleView.transform=CGAffineTransformMakeRotation(theHeading);
but the rotation is not smooth. It is moving roughly.
Can anyone tell me how to do a smooth rotation of the compass…

adhees
- 79
- 2
- 5
2
votes
1 answer
How to get azimuth angle at the same time of getting accelerometer measure!ORIENTATION vs ACCELEROMETER
I'm doing this application that works like a pedometer counting steps, but I want it to show orientation for each step.
What i'm doing is registering two event listeners and than for each onsensorchanged event I'm picking up the values of the…

RootsWiller
- 21
- 4
2
votes
1 answer
Do android photo's store compass information in metadata, if not how could it be done?
Just wondering , is there a way of storing the compass information of your phone when you take a photo,
Ideally the direction the person is facing when the photo will be recorded.
How would i go about implementing this in android
Edit added
the…

molleman
- 2,934
- 16
- 61
- 92
2
votes
1 answer
Using Compass to point to actual coordinate location instead of just North
I have seen a few examples of this but am not sure exactly how to implement it, (such as iPhone Compass GPS Direction) in do I need to call calcBearingWithLatitude in (void)startup?
All I am trying to do is have the compass pull a point from memory…

Alex Muller
- 1,565
- 4
- 23
- 42
2
votes
0 answers
Qt; how to get screen orientation corrected compass value (in c++ part)?
My intention was to show the user where north is relative to how he views the screen inside a Qt Quick 2.0 app
So I took the Compass class from the Qt sensors package, and it works fine if I hold my phone in portrait mode, but if I call…

RinCode
- 41
- 5
2
votes
0 answers
Javascript device compass data always starts at ~90 degrees
I'm using code from here and here to determine which way the phone is facing when looking through the camera.
After initialization, the code seems very fluid and consistent. The problem is that it seems no matter which way my device is pointing…
user736893