Skip Navigation

[Resolved] Center a map to specific coordinates with many markers

This support ticket is created 2 years, 2 months ago. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Arnau Català 2 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2614151
Captura de pantalla 2023-06-09 a las 9.58.14.png
Captura de pantalla 2023-06-09 a las 9.57.09.png

Tell us what you are trying to do?
I have a map with many markers and I want the map to be centered on the center of Spain when it is displayed. I would also like to change the default zoom to enlarge it a bit. Also know if you can change the distance by which the markers are grouped. I have tried to add to the shortcode from which I call the map the parameters center_lat="", center_lng="", data-generalzoom="", data-generalcenterlat="", data-generalcenterlon="" but nothing has worked.

Is there any documentation that you are following?
https://toolset.com/forums/topic/map-not-centering-when-other-parameters-specified/
https://toolset.com/forums/topic/center-map-to-different-location-when-address-is-not-in-the-database/

What is the link to your site?
hidden link

#2614361

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please send me admin access details and problem URL and send me exact address on what location you want to set the map center.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2615319

My issue is resolved now. Thank you!