Skip Navigation

[Resolved] Center map when no search results are found

This support ticket is created 4 years 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 avansisI-2 4 years ago.

Assisted by: Minesh.

Author
Posts
#1881053

Hi!
I need that when there are no results the map does not show in the point of africa.

Could you make the map display at the starting point where i have it registered?

#1882267

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

This is known to us and the feature is there but its hidden with some other maps settings. We already registered a ticket to improve the UI for this settings so users should be able to set the default map center when there is no marker available to display.

For now, the workaround would be, you will find the option to set a default center With your Maps block.
=> Check this screenshot hidden link

What you need to do is, You will have to disable the setting "Adjust zoom and center to show all markers at once" option on the map, in order to get a default center. Once you input the default center value, you can reactivate the option, and the center will be there.

Can you please try to use this workaround for now and try to resolve your issue.

#1883077

My issue is resolved now. Thank you!