Support » Plugin: Google Map for Contact Form 7 » How to display a location radius?

  • wci

    (@wci)


    Dear support team,

    is it possible with your add-on to search for an address and set an environment
    limitation with display e.g. Radius 10, 25, 40, 50, 65, 80 km.

    In reason, I would like to use this for customers to find their location and set a limit of a radius to place an order according to their settings.

    Screenshot > https://www.screencast.com/t/A7i3zhcZxxP

    Best, Alex

Viewing 1 replies (of 1 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    It should be possible as the map object is exposed through events (see FAQ #10 and #11).

    So I am assuming you want to restrict the autocomplete SearchBox results.

    You’ll need to grab the map object exposed through the init event and restrict it with your selected radius.

    There is an example already available on the Stackoverflow forum.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.