By Imran on Monday, 29 June 2015
Posted in Technical Issues
Replies 13
Likes 0
Views 793
Votes 0
Hello,

Why does the 'Add Location' asks for permission to use / share my own location?

When I ignore or block to use my own location prompted by browser, the EasyBlog Location search goes into endless search loop and does not display anything, no tooltips etc. even when entering the location manually?

Best regards,
Imran
Hi Imran,

I am sorry for the delay of this reply.

Why does the 'Add Location' asks for permission to use / share my own location?


Regarding the above, its actually the web browser requesting your permission in order to use your current location so that EasyBlog can perform the search. If you do not wish to see this permission dialog box, you can choose 'aways allow'

As for the loading icon, I've fixed the issue internally. For now, you can safely ignore this loading icon as there is no actual 'searching' going on. Its just a loading animation The fix will be added into next release of EasyBlog

Hope this help and have a nice day!
Sam
·
Monday, 29 June 2015 12:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

But a blogger might not like it or might not allow this even if it's the browser which is prompting for the blogger's own location, if for example, writing a blog about a remote city or a place, he / she might just disallow and enter the location manually? To my experience, so far, when I disallowed and entered the location manually then nothing was retrieved from Google.

Best regards,
Imran
·
Monday, 29 June 2015 14:12
·
0 Likes
·
0 Votes
·
0 Comments
·
For now, you can safely ignore this loading icon as there is no actual 'searching' going on. Its just a loading animation

will this be the standard behavior or entering manually a location still needs to be implemented?

if for example, writing a blog about a remote city or a place, he / she might just disallow and enter the location manually? To my experience, so far, when I disallowed and entered the location manually then nothing was retrieved from Google.

Exactly !!
·
Monday, 29 June 2015 15:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi guys,

Regarding the Add Location, if you manually enter your location, EasyBlog still need to submit to google to retrieve the coordinate information so that EasyBlog can display map when viewing the blog post. If i understand correctly, you want to enter the location manually so that the location ( text ) will be displayed and not the map?

Please advise.
Sam
·
Monday, 29 June 2015 15:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sam,

Not exactly...
There are 2 options:

Automatically detect my location


Enter a location (address) manually

If instead of auto detect my location I want to enter an address manually, then the loading animation goes on forever without retrieving any google map suggestion nor prompting any message.

Example:
I am located in London
I want to write a blog post about Bangkok
I want the location map to show Bangkok (address entered manually), and not London from where I am writing (auto detect).

I hope you understand better...
·
Monday, 29 June 2015 15:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sam,


There are 2 options:

Automatically detect my location


Enter a location (address) manually

If instead of auto detect my location I want to enter an address manually, then the loading animation goes on forever without retrieving any google map suggestion nor prompting any message.

Example:
I am located in London
I want to write a blog post about Bangkok
I want the location map to show Bangkok (address entered manually), and not London from where I am writing (auto detect).


Exactly, that's how it should be.

I think, there should be a visual option for the user to select their own location (that way we have their consent) before any prompt from the browser and manually entering of the address should be by default. May be a check box under the location field like on Google to use their own location.

Best regards,
Imran
·
Tuesday, 30 June 2015 13:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi guys,

I am sorry for the delay of this reply.

Regarding the add location, currently in EasyBlog composer, whether or not you are using the auto location detect or manual location entered, EasyBlog still submit to google to retrieve the latitude and longitude of the location you've entered. E.g. Bangkok. This latitude and longitude is required so that EasyBlog can display a map. Please see below video. If you notice, whenever I enter something in the location bar, EasyBlog submit an ajax request to connect to google api to retrieve the location information.

http://screen.stackideas.com/2015-06-30_1331.swf

I think, there should be a visual option for the user to select their own location (that way we have their consent) before any prompt from the browser and manually entering of the address should be by default. May be a check box under the location field like on Google to use their own location.


If i understand correctly, if user choose to enter the location manually, there is not google api call and whatever user have entered, it will display as it is when viewing the blog post?

Please advise.
Sam
·
Tuesday, 30 June 2015 13:37
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

We are not getting the same result as your video !

Simply put:
Nothing happens when we enter a location manually.
The loading icon turns on forever, probably nothing is submitted to google or ???
If i understand correctly, if user choose to enter the location manually, there is not google api call and whatever user have entered

Exactly !
And, if we save and check the updated post, no location map displays on the map...there is no empty map, the map does not show at all.

For your info, it happens in Safari, I did not test other browsers.

EDIT
I have noticed that in ES the location works without google API key, when I enter the Google API is does not work....
Maybe it is the same kind of issue... I cannot test anymore...buggy EB5 is broken on my test site
·
Tuesday, 30 June 2015 13:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Sam,

I guess that's because you allowed to share your location in the video (please refer to my earlier posts above, there is no point in sharing your own location unless the blog is telling about the surrounding location), as once you block from sharing your own location and then enter a location in the location field nothing happens?

Even when you just enter an address manually (no Google api calls) the address when you publish the blog is lost.

Best regards,
Imran
·
Tuesday, 30 June 2015 14:51
·
0 Likes
·
0 Votes
·
0 Comments
·
In other words, you first allowed to share your location only then you were able to send api calls to google (when you entered the address manually in the location field). Wasn't it? Unfortunately, this is bit offensive to ask the user straight away for their location unless they consent to it by, for example, clicking on a check box under the location field to use their own location instead.

The system should be able to work regardless of having to share or prompting for the permission to share their own location.

Best regards,
Imran
·
Tuesday, 30 June 2015 14:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi guys,

Regarding the add location feature, currently it cant work without sharing the user location However, I've discussed with our team lead and in the next version of EasyBlog, we will split the 'user's location detection' and also the 'manual keyin location'. Both will need to submit to google map api to get the coordinate but the different is, when user click on 'auto detect', EasyBlog will only use user' current locations. This method required user to give permission to share the location.

For the manual keyin location, user do not need to to give permission to share location. When user keyin an address, EasyBlog will post the address to google map api and retrieve the suggested location and it's coordinate. User then choose their location from the suggested list.

Hope this help and have a nice day!
Sam
·
Tuesday, 30 June 2015 19:57
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam,

Spot on!!!

Best regards,
Imran
·
Wednesday, 01 July 2015 06:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Imran,

Stay tuned to our updates on EasyBlog
Have a nice day!
Sam
·
Wednesday, 01 July 2015 10:46
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post