Have an outside of the map search box

New home Forums Pro Add-on Have an outside of the map search box

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #72449
    moises8
    Participant

    Greetings,

    Would it be possible to have an external search box, for example in a banner and when an user inputs a name or a zipcode, it gets redirected to the map pointing to the searched location?

    Would this need some custom code and maybe you guys could provide me with some pointers on how to do it? or maybe there’s an option already on the plugin that im missing.

    Kind regards

    Attachments:
    You must be logged in to view attached files.
    #72455
    Steven
    Moderator

    Hi @moises8,

    Thank you so much for getting in touch, we really appreciate your time.

    Unfortuantely, this is not presently supported by default and would require quite a fair amount of customization to achieve.

    You will likely want to create this new search field on the page this is needed, and upon clicking the search button, submit this bypassing the search term as a GET variable which then once the user arrives and the map page, you should be able to then, using some more script grab that searched term via the GET variable and input this in the search field of the map, triggering a click during this time.

    This should replicate the desired result mentioned.

    I hope this helps?

    Kindest Regards,
    Steven De Beer

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.