Navigation überspringen

[Gelöst] Auto center and zoom map based on visitor's location

This support ticket is created vor 5 Jahren, 11 Monaten. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Waqar vor 5 Jahren, 11 Monaten.

Assistiert von: Waqar.

Author
Artikel
#1219216

I am trying to:Auto center and zoom map based on visitor's location

Link to a page where the issue can be seen:versteckter Link

#1219391
#1220133

Hi Roman,

Thank you for contacting us.

I apologize for the delay, as we had an unusually busy queue during the weekend.

I've checked the link that you've shared ( versteckter Link ) and noticed that it is already showing visitor's current location marker along with some others.

The way Toolset Map's "wpv-map-render" shortcode works, it can be either used to center map's zoom/focus automatically, so that all available markers are shown or it can be used to show a given latitude and longitude location.
( ref: https://toolset.com/documentation/user-guides/maps-shortcodes/ )

I'm afraid, the feature to automatically center the map based on the visitor's location (when the map loads) is not available, but, you can use a link or button generated through "map-focus-on-marker" shortcode, which will center focus the marker that is showing visitor's location on click.
( https://toolset.com/documentation/user-guides/maps-shortcodes/#map-focus-on-marker )

You're welcome to submit new feature requests at our dedicated form:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

regards,
Waqar