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
0 answers
Geolocation with Magnetic North
I'm making an interactive compass which pointing to a static coordinate position (Latitude, Longitude). I read the position of the user with:
navigator.geolocation.watchPosition( positionFound , error );
And I rotate the compass with:
heading =…

Nick Veldkamp
- 21
- 2
2
votes
1 answer
CoreMotion based compass
I would like to calculate compass heading to true north using CoreMotion (Not CoreLocation if possible). I have found some formulas, but working only when phone is flat on the table. Can someone help me find a way to calculate compass heading, which…

Damian Dudycz
- 2,622
- 19
- 38
2
votes
0 answers
How to use alpha, beta and gamma from the JS deviceorientation Event object in PhoneGap to calculate which way the camera is facing?
I'm trying to use the alpha, beta and gamma values available from the JS deviceorientation Event object to calculate which way a smartphone camera is facing when you take a picture from a PhoneGap app.
I understand conceptually what the alpha, beta…

HartleySan
- 7,404
- 14
- 66
- 119
2
votes
1 answer
Android Compass Reading Different Values On Different Phones?
Hello :) I am working on an application that uses the compass and location to draw an arrow at the direction of a location. My problem is when I run my code on the emulator, all the arrows point the correct directions, and when I change the…

Quinn Damerell
- 21
- 2
2
votes
0 answers
Undefined watchHeading in compass plugin for ionic/phonegap
Well, I'm working on a small project made in ionic. I'm using ngCordova to add some cool plugins, like device orientation for compass. But I can't force it to work. I already installed ngCordova and added plugins (geolocation plugin works). I'm out…

user3924850
- 77
- 6
2
votes
1 answer
Extracting the heading (compass) from Google Maps SDK for iOS
To my impression, the compass of Google Maps in iOS works impressively well. I'm talking about the compass arrow of the small blue "My Location" dot in the map, see Google Maps SDK - My Location. It has been introduced in the recent version 1.7…

user2980195
- 163
- 1
- 10
2
votes
1 answer
How to get phone heading for augmented reality?
Possible duplicate : Android getOrientation Azimuth gets polluted when phone is tilted
I am new to android development and I try to get the user facing.
After searching on the web I am pretty sure I need to use remapCoordinateSystem, android…

Humbertda
- 364
- 1
- 6
- 23
2
votes
0 answers
Android Rotate more fluid
I am making a simple compass app for android.
The rotation are okay, but it's laggy.
I have the fallowing code inside the method onSensorChanged():
RotateAnimation ra = new RotateAnimation(this.currentDegree,
-degree,…

arturataide
- 363
- 2
- 11
2
votes
1 answer
iPhone Compass Programming
I am developing an compass application for iphone 3GS. I have used CoreLocation framework for
the compass method I have used...
- (void)locationManager:(CLLocationManager *)manager didUpdateHeading:(CLHeading *)newHeading
...method for getting…

shivang
- 91
- 1
- 5
2
votes
1 answer
point a windows 8 app towards a certain location relative to the tablet's location
I'm learning to create windows 8 apps and I'm stumped as regards something.
Say I am in London. And I want to find Trafalgar square relative to where I am standing. But based on a compass. So for example if I am south of trafalgar, regardless of how…

David G
- 6,803
- 4
- 28
- 51
2
votes
1 answer
Android - Calculate Compass Angle in Degrees
I have a basic app, which tells the user to point to certain angle for example 55. Now I have a compass which gets the azimuth, pitch and roll, I followed this tutorial http://android-coding.blogspot.ca/2012/03/create-our-android-compass.html.
I…

user2122179
- 73
- 1
- 7
2
votes
0 answers
Adding "Around me"-like directional arrows to UITableView
I'm trying to develop an App with an "Around Me"-like feature of a location list with small directional arrows on the side.
Bearing and offset to the different locations hadn't been a problem thanks to Stackoverflow and compensating the compass-lag…

Oli
- 240
- 1
- 10
2
votes
1 answer
How to show direction on map based on calculated angle in degrees
I have calculated angle between two Latitude and Longitude coordinates as below code.It returns angle as 3 in radians, and 193 in degrees. I want to show arrow marker on map based on this angle.How to display object direction moved,based on this…

Ramprasad
- 7,981
- 20
- 74
- 135
2
votes
0 answers
Showing a compass image that rotates with the map in usertrackingmodefollowwithheading (iOS 6)
In Apple's Maps app, when UserTrackingModeFollowWithHeading is enabled, there is a compass image that shows the direction of North-South and rotates with the rotation of the map. I have enabled UserTrackingModeFollowWithHeading in my app and would…

Helllo Ast
- 75
- 4
2
votes
0 answers
IOS Compass Reading comes out different in different controllers
I have a problem with compass reading. I have two different controllers and in both the controllers the compass reading turns out different in the same location and same direction. How to fix that?
self.locationManager=[[CLLocationManager alloc]…

Aleem Ahmad
- 2,469
- 4
- 24
- 38