The default zoom control style comes with "SMALL" value. I want to alter it to "LARGE".

How can change zoom control style to large?

Comments

firoz2456 created an issue. See original summary.

rdeboer’s picture

Use CSS and you can style it to any size and colour you like.

firoz2456’s picture

Hello RdeBoer,

Thanks for reply. I am able to change css styling. But I need to change Zoom control style from Small to Large. This is a small Zoom control: prntscr.com/9eeq41 and This is a Large prntscr.com/9eeqqu

rdeboer’s picture

Oh I see -- yes you can't do that with CSS, haha!

Yes that option hasn't been made available in the Leaflet UI. Nor do I feel that it should be.

I feel those bells & whistles belong in another module "layer", maybe IPGV&M.

Or you can hard-code it yourself for your specific project.

anurag27’s picture

We can achieve this using Zoomslider also. Please find my comments here.
http://stackoverflow.com/questions/34261723/change-leaflet-map-zoom-cont...

rdeboer’s picture

Assigned: Unassigned » rdeboer
Status: Active » Closed (works as designed)