Support » Plugin: Easy2Map » Map zoom in to marker position based on search

  • I was wondering if your plugin provides ability to zoom into a specific location based on the longitude/latitude details. So we have implemented the plugin search functionality and want to zoom into the venue which is searched for in the map. Let us know if you can provide some help or guidance related to that. Also can we restrict to display the map zoom out at the country level in the map?

Viewing 1 replies (of 1 total)
  • Plugin Author stevenellis

    (@stevenellis)

    Hi,

    Thanks for the feedback. Unfortunately neither of these features currently exist in the plugin.
    The challenge with zooming in on the searched-for result is that there may be more than one pin matching a search term, and since the search results are instantly updated to whatever text is entered in the search text input, the map would effectively zoom in and out based on the search results returned, probably resulting in a poor user experience.
    On the second point (restricting zoom to a particular country), Google maps does not provide native support for this, meaning one would need to specify the latitude and longitude bounds of the area to which zoom is restricted. This would require a fair bit of work on our side, and while this feature is not currently offered in the plugin, if we receive sufficient requests for this feature, we definitely consider adding it.

    Kind regards,
    Steven

Viewing 1 replies (of 1 total)
  • The topic ‘Map zoom in to marker position based on search’ is closed to new replies.