Skip Navigation

[Escalated to 2nd Tier] Toolset Maps zoom_control=”off” has no effect – zoom controls persist

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 5 replies, has 1 voice.

Last updated by Minesh 18 hours, 36 minutes ago.

Assisted by: Minesh.

Author
Posts
#2847708
Screenshot 2026-02-11 at 16.56.46.png

We have a map here: hidden link

I have set

zoom_control="off"

in the wpv-map-render[/php] shortcode, but the map is still showing me zoom controls, despite clearing all the caches (WP Rocket, CSS, Priority Elements, Redis Object Cache).

[wpv-map-render 
map_id="find-a-job-map" 
spiderfy="off" 
cluster="off" 
scrollwheel="off" 
draggable="off"
zoom_control="off"
double_click_zoom="off" 
map_type_control="off" 
full_screen_control="off"
street_view_control="off"
map_height="300px"][/wpv-map-render]

I tried re-inserting the map shortcode via the GUI to ensure nothing had changed, but it provided the same options as I had set already.

Newly inserted map code via GUI:

[wpv-map-render 
map_id="find-a-job-map" 
draggable="off" 
scrollwheel="off" 
double_click_zoom="off" 
map_type_control="off" 
zoom_control="off" 
street_view_control="off"][/wpv-map-render]

Existing map code in View "Find a Job Search and Results View" (hidden link

1) How can we ensure the users cannot zoom the map? Google's costs have increased significantly for map usage, so we want to prevent as many unnecessary renders as possible.

2) What is this about in the Toolset Settings > Maps? (the linked documenation https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/?utm_source=plugin&utm_campaign=blocks&utm_medium=gui doesn't describe the difference between legacy and current)

Map plugin (legacy)
You can enable the legacy Views Maps plugin if you already use in your site.
Get more details about the new Toolset Maps plugin in the documentation page.
Enable the legacy Views Map plugin

3) The

spiderfy

option is missing from your documentation Programmer Reference https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-render. Is it still supported and usable?

4) Just spotted that

wpv-control-distance

is also missing from your documentation, but we are still using it. Is it still supported? It is very quirky and doesn't always work reliably, particularly if using the arrow up/down buttons or if several queries are submitted in short space of time.

Kind regards
Simon

#2847845

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please check now: hidden link

1) How can we ensure the users cannot zoom the map? Google's costs have increased significantly for map usage, so we want to prevent as many unnecessary renders as possible.
=====>
In order to remove the zoom control - I've added the following code to the following view's "Search and Pagination" section's JS editor:
=> hidden link

jQuery(document).ready(function($){
 
$( document ).on('js_event_wpv_addon_maps_init_map_completed', function( event, event_settings ) {
    // Get the map using our .get_map() method
    var map = WPViews.view_addon_maps.get_map( event_settings.map_id );
    // Use Maps API .setOptions() method to programmatically change any option on the map.
    if ( map ) {
        map.setOptions({cameraControl: false});
    }
} );
 
});

2) What is this about in the Toolset Settings > Maps? (the linked documenation https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/?utm_source=plugin&utm_campaign=blocks&utm_medium=gui doesn't describe the difference between legacy and current)

Map plugin (legacy)
You can enable the legacy Views Maps plugin if you already use in your site.
Get more details about the new Toolset Maps plugin in the documentation page.
Enable the legacy Views Map plugin
=====>
If you have used really old maps with views (way back early 2018, with Maps version 1.4.2 - Refactored many method names to remove unnecessary prefixes. Important: if you have built custom functionality on top, please check the compatibility of your code with this (and future) version of Toolset Maps) or even before when there were map feature added within views, if you build such maps then you might need to have concern about. Maybe its not useful for you as you joined Toolset in 2019.

3) The

spiderfy

option is missing from your documentation Programmer Reference https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#wpv-map-render. Is it still supported and usable?
======>
Yes, you are right, I do not see the attribute spiderfy with the doc you shared. I will inform our Doc team and they will add it.

You can find more details on spiderfy markers with the following Doc:
=> https://toolset.com/documentation/legacy-features/maps-plugin/displaying-markers-on-maps/#displaying-multiple-markers-that-appear-on-the-same-location

4) Just spotted that

wpv-control-distance

is also missing from your documentation, but we are still using it. Is it still supported? It is very quirky and doesn't always work reliably, particularly if using the arrow up/down buttons or if several queries are submitted in short space of time.
=====>
Yes, its still supported and its used for distance filter feature. You are right there is no doc on that I will check with Doc team if there is any Doc available.

#2847969

Hi Minesh

1) Thanks, that workaround seems to work. So the code zoom_control="off" just doesn't work? Is it a bug that will be fixed soon?
2) OK
3) OK
4) OK

Kind regards
Simon

#2847970

Minesh
Supporter

Languages: English (English )

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

1) Thanks, that workaround seems to work. So the code zoom_control="off" just doesn't work? Is it a bug that will be fixed soon?
===>
I will report it and see but there is no ETA when the fix will made available.

#2848247

Hi Minesh

Can you please have it added to the Errata list so I can track it? I don't see it there:
https://toolset.com/known-issues/

Kind regards
Simon

#2848560

Minesh
Supporter

Languages: English (English )

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

I've escalted the zoom_control issue in front of our Devs and they will take care of it. I'll get in touch with you when I've any update on it.