Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

dart:html.Geolocation class needs Dartification #6280

Closed
justinfagnani opened this Issue · 2 comments

3 participants

@justinfagnani
Collaborator

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

Added this to the Later milestone.

@blois

Was fixed with some Geolocation fixes a while back.


Added Fixed label.

@justinfagnani justinfagnani added this to the Later milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.