I have a Joomla 3.8 website at [login to view URL] that is using the J-BusinessDirectory component to display restaurant locations.
Currently the site lets visitors search the locations in two ways:
- they can select a state from a drop-down field and see all locations in that state
- they can select to see only those locations that are within a 50-mile radius of their current location
The J-BusinessDirectory component features a geolocation function, and it is working correctly. However there is a delay in showing the correctly filtered locations. What happens is the site visitor is first shown *all* locations and then (depending on the speed of their internet connection) the full list of locations is filtered to only show those within 50-miles of the visitor.
What I need done:
(1) I need a pop up created that says "Share you location?". If the visitor answers "Yes" (saved as a browser cookie) then they are taken to the geolocation page. If they say "No" they are simply directed to the search by state page.
(2) I need to have the geolocation function customized so that the site visitor is never shown *all* of the locations. Instead a "Please wait while we search for locations in your area" popup displays before showing the visitor the correctly filtered locations.
Please see the attached screen grabs for more detail:
Screen 1 - Visitors click on "Location" menu item
Screen 2 - A popup appears ("Share your location?")
If they choose "Yes" then they see Screen 3A ("Please wait...") and then Scren 3B (the geo-filtered locations).
If they choose "No" then they go right to Screen 4 (search by state).
11 freelanceria on tarjonnut keskimäärin 199$ tähän työhön
Yes its possible but i would have to check is google return exact same string that is already stated as state. Let's discuss more on this, hope you would hit that chat button. Thanks Poonam