136
rated 0 times
[
137]
[
1]
/ answers: 1 / hits: 57526
/ 10 Years ago, tue, april 8, 2014, 12:00:00
I am trying to customize zoom control (+/-), so it should appear in the right side like Google maps (https://www.google.com/maps/)
I tried to add float:right;
but it didn't work.
From the CSS file :
/* zoom control */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
font: bold 18px 'Lucida Console', Monaco, monospace;
text-indent: 1px;
}
.leaflet-control-zoom-out {
font-size: 20px;
}
.leaflet-touch .leaflet-control-zoom-in {
font-size: 22px;
}
.leaflet-touch .leaflet-control-zoom-out {
font-size: 24px;
}
More From » css