Closed johnd0e closed 3 years ago
See #map > div.leaflet-control-container > div.leaflet-bottom.leaflet-left (and the same is with .leaflet-right)
#map > div.leaflet-control-container > div.leaflet-bottom.leaflet-left
.leaflet-right
If current baselayer is any of GoogleMutant - .leaflet-bottom element has inline style:
.leaflet-bottom
<div class="leaflet-bottom leaflet-left" style="margin-bottom: 20px;">
In other layers you see the same but with margin-bottom: 0em.
margin-bottom: 0em
Because of this fact during layer switching you can see that position of bottom leaflet controls changes (e.g. see minimap).
@modos189 ?
The source of the issue:
onAdd: https://github.com/IITC-CE/ingress-intel-total-conversion/blob/256f9c53a866a254b40e40b1f766e58b4d2a89f4/external/Leaflet.GoogleMutant.js#L79-L81
onAdd
onRemove: https://github.com/IITC-CE/ingress-intel-total-conversion/blob/256f9c53a866a254b40e40b1f766e58b4d2a89f4/external/Leaflet.GoogleMutant.js#L109-L110
onRemove
Report: https://gitlab.com/IvanSanchez/Leaflet.GridLayer.GoogleMutant/issues/93
See
#map > div.leaflet-control-container > div.leaflet-bottom.leaflet-left
(and the same is with.leaflet-right
)If current baselayer is any of GoogleMutant -
.leaflet-bottom
element has inline style:In other layers you see the same but with
margin-bottom: 0em
.Because of this fact during layer switching you can see that position of bottom leaflet controls changes (e.g. see minimap).