FREAC / COM

Find the latest version of the web app here:

Home Page:https://hermes.freac.fsu.edu/com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto geolocate if using the phone

shodge17 opened this issue · comments

Instead of having to push the "find me" button if you are using a phone to access the site, make it automatically find you. The user may be asked to allow that to happen when the site first launches but that's ok

I'm not sure about this. It will require custom code to determine whether the site is being loaded by a phone, then more mobile-friendly custom code to configure an alert window to only fire when this is the case. It also assumes that people accessing it on their phone always want to use that feature, which may not always be true. If not, they'll have to zoom out every time they open the application; it's also possible that there won't be any providers immediately visible in the map screen, which could be confusing. Finally, I think it's kind of impressive to see all of the facilities across the state when you first load the application. It gives you a sense of the size of the network of providers that the CoM is trying to showcase.

If we are asking for their location, wouldn't the user receive a push notification request asking permission to use the location? In that sense it wouldn't zoom straight there until the user approves the permission request.

Also, a possible low-tech way of figuring out if the user is on mobile is to check for screen size. Isn't this the way that the search bar relocates?

True. But once you tell your browser that it can't use your location, doesn't it cache that setting for the web site? So then you don't have the option to use the locate button later if you want to.
If you don't ask for the user's location on page load, you let the user decide to opt-in to use the location setting if and when they choose to or simply ignore it if they'd rather not share their location or don't need that functionality at the moment.

Right, that's a good point. I really don't know if it caches the location preference. I would say that it would accomplish just about the same thing if there was just a button there, then the user can make the decision if they want to zoom to their location.

The new LABINS map does NOT remember your setting from session to session. if you simply do a refresh of the screen you are back to the state view.

I am fine making the user hit the "locate me" button. This, again, is something we dont really know how the users of this will want to use it.