You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Bas Bosman (JIRA)" <ji...@apache.org> on 2014/02/07 23:01:19 UTC

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

     [ https://issues.apache.org/jira/browse/CB-4573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bas Bosman updated CB-4573:
---------------------------

    Component/s: Plugin Geolocation

> 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, Plugin Geolocation
>    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 was sent by Atlassian JIRA
(v6.1.5#6160)