Welcome Guest Search | Active Topics | Sign In | Register

Unable to get current device location Options
Michelle
Posted: Thursday, May 21, 2015 7:09:51 PM
Rank: Newbie
Groups: Member

Joined: 5/21/2015
Posts: 2
I am using navigator.geolocation.watchPosition to get the current location of a user's device. In Chrome I get the message that the website would like to use my current location and if I click yes, the location is retrieved. In EO.WebBrowser there is no prompt and I get a Permission Denied error.
Michelle
Posted: Wednesday, May 27, 2015 10:43:46 AM
Rank: Newbie
Groups: Member

Joined: 5/21/2015
Posts: 2
Any ideas why this won't work? Do I need to configure something?

Michelle Tiahi, O.P.T.
eo_support
Posted: Thursday, May 28, 2015 7:36:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

We have confirmed that this is not supported in the current build. We will support this in our next build, which is due to be released early next month.

Thanks!
eo_support
Posted: Tuesday, June 2, 2015 12:22:21 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

This is just to let you know that we have a test build that added geo location support. We have sent you a private message with the details. You can click the "inbox" link on top of the forum to view the message.

Thanks
Chirag Rana
Posted: Monday, June 15, 2015 11:05:58 AM
Rank: Newbie
Groups: Member

Joined: 6/15/2015
Posts: 2
Hi,
Any updates on the new build? I am also looking for geo location support in the EO.WebBrowser
eo_support
Posted: Monday, June 15, 2015 3:13:55 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

The new release will be posted later this week.

Thanks!
creality
Posted: Tuesday, February 9, 2016 1:09:35 PM
Rank: Advanced Member
Groups: Member

Joined: 12/9/2014
Posts: 79
Any news? In a webpage that uses navigator.geolocation.getCurrentPosition i get a console error(the error callback of function) and no security question ask user. I dont see any option in EO.WebBrowser to allow/block this. Is working ok in Firefox and Chrome.

I tested webpage with your last tabbed browser (2015.4.1.0)
eo_support
Posted: Friday, February 19, 2016 4:04:25 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,067
Hi,

We have looked into this. Please check whether you have provided your Google API key. The actual location resolving is done by Google Map Geo Location API on Google's server, which requires a Google API key to function. See here for more information on how to get the API key:

http://www.essentialobjects.com/doc/webbrowser/advanced/speech_recognition.aspx

Note that Google has since changed their UI since the above documentation was written, as such the actual steps will be different. But the basic steps is the same (creating project, go to credentials to create an API key). We will update our documentation soon to reflect the changes.

Once you have the API key, you can apply it through EO.WebBrowser.Runtime.GoogleAPIKey or through engine options. After that the location service should work.

Thanks!
creality
Posted: Monday, February 22, 2016 3:08:17 AM
Rank: Advanced Member
Groups: Member

Joined: 12/9/2014
Posts: 79
I'll give a try.

Thank you very much


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.