Near Me Search – JS to disable search until…

This topic contains 2 replies, has 2 voices, and was last updated by  jkirker 9 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #51798

    jkirker
    Lifetime Member
    Post count: 298

    Currently you can check the “Near Me” box and execute a search prior to the API pinpointing your location.

    If the search is executed prior to the location being set, it will sometimes return a JS error and other times just return a list of locations which is ordered by the last entered – not near me.

    We should use JS/AJAX when Near Me is checked and only allow the search to be executed if the location has been found – otherwise wait – or prompt the user to wait until the browser has identified their location.

    See video here:
    https://vimeo.com/138199159

    #51816

    Paolo
    Site Admin
    Post count: 31206

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

    #51841

    jkirker
    Lifetime Member
    Post count: 298

    A valid license is required to view this reply.

    You may need to login

    OR

    Buy either a Membership or valid license for this product.

    Thanks, Team GeoDirectory!

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount