You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Peter (JIRA)" <ji...@apache.org> on 2013/08/13 01:25:47 UTC

[jira] [Created] (CB-4573) navigator.compass.getCurrentHeading takes compassOption parameter?

Peter created CB-4573:
-------------------------

             Summary: navigator.compass.getCurrentHeading takes compassOption parameter?
                 Key: CB-4573
                 URL: https://issues.apache.org/jira/browse/CB-4573
             Project: Apache Cordova
          Issue Type: Bug
          Components: Docs
    Affects Versions: 2.9.0
            Reporter: Peter
            Assignee: Michael Brooks
            Priority: Minor


Why does the API documentation say *navigator.compass.getCurrentHeading* method takes a compassOptions parameter? 

AFAIK:
* compassOption has no relevance for getCurrentHeading method 
* compassOption is just for watchHeading method (analagous to the getCurrentAcceleration / watchAcceleration).

Ref http://cordova.apache.org/docs/en/2.9.0/cordova_compass_compass.md.html#compass.getCurrentHeading

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira