[ 
https://issues.apache.org/jira/browse/CB-10055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15019260#comment-15019260
 ] 

Jesse MacFadyen commented on CB-10055:
--------------------------------------

(watchPosition)Returns
String: returns a watch id that references the watch position interval.

(clearWatch)Parameters
watchID: The id of the watchPosition interval to clear. (String)

Looks right to me?!

> Cordova implementation for Geolocation plugin has wrong type for watchId
> ------------------------------------------------------------------------
>
>                 Key: CB-10055
>                 URL: https://issues.apache.org/jira/browse/CB-10055
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaCommon, CordovaLib
>            Reporter: Yasser Elsayed
>
> See the definition of the Cordova interface of the Geolocation plugin here:
> http://docs.phonegap.com/en/edge/cordova_geolocation_geolocation.md.html#geolocation.watchPosition
> The watchId variables in watchPosition() and clearWatch() are declared as 
> numbers, but that does not match the HTML5 specs for the GeoLocation on w3, 
> which state it's a string. See: 
> http://dev.w3.org/geo/api/spec-source.html#geolocation



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to