Reputation: 511
For a project I am doing I really need to find a location or Coordinates. I do not know how to get a Location / coordinates, I dont think that dartium supports many ways of getting locations / coordinates. I am guessing I would use navigator.getLocation but it is not working. Help?
Thanks Luca
Upvotes: 2
Views: 253
Reputation: 657821
According to this bug report (https://code.google.com/p/dart/issues/detail?id=15866) it is not supported.
You need to build to JavaScript and run in Chrome to get the location.
When you use pub serve
(as recent DartEditor versions do) you can open the same URL in Chrome you are using in Dartium.
Upvotes: 2