dart:html.Geolocation class needs Dartification #6280

Closed
justinfagnani opened this Issue Oct 25, 2012 · 2 comments

Projects

None yet

3 participants

@justinfagnani

From a StackOverflow question: http://stackoverflow.com/questions/13033866/specifying-optional-parameters-when-calling-javascript-functions-in-dart

http://api.dartlang.org/docs/bleeding_edge/dart_html/Geolocation.html

getCurrentPosition() and watchPosition() both take a options parameter of type Object, which according to MDN has two possible properties. They should just be optional parameters.

The int return value of getCurrentPosition() and watchPosition() should possible be an opaque handle, or a Registration object with a clear() or cancel() method.

@efortuna
Collaborator
efortuna commented Dec 6, 2012

Added this to the Later milestone.

@blois
blois commented Feb 27, 2013

Was fixed with some Geolocation fixes a while back.


Added Fixed label.

@justinfagnani justinfagnani added this to the Later milestone Feb 27, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment