Closed (fixed)
Project:
Leaflet
Version:
7.x-1.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
23 Jun 2015 at 17:56 UTC
Updated:
14 Dec 2015 at 07:29 UTC
Jump to comment: Most recent
Hello
i want to remove the zoom control for my leaflet views in drupal but i don't find any settings for my task.
How do i remove the control bar?
i dont want any actions on mouseover
Comments
Comment #1
cecyle commentedNobody has an idea?
Comment #2
rdeboerHi cecyle,
It is not available as a UI option, but you can set in the code.
File leaflet/leaflet.module, search for
'zoomControl' => TRUE,(near line 200).Change
TRUEtoFALSE.If you do not wish to "hack" the module this way, then you can implement your own
hook_leaflet_map_info(), doing the same, see leaflet/leaflet.api.php for an example.Or if you wish to be crude, CCS it out in your theme's style.css file. Something like this may work:
Rik
Comment #3
rdeboerComment #5
firoz2456 commented@RdeBoer Is there any way to change value for zoom control style ?
https://www.drupal.org/node/2634466