Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

dart:html.Geolocation class needs Dartification #6280

justinfagnani opened this Issue Oct 25, 2012 · 2 comments


None yet
3 participants

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


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 commented Dec 6, 2012

Added this to the Later milestone.

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