Turbo87 / sidebar-v2

A responsive sidebar with tabs for Leaflet, OpenLayers, Google Maps, ...

Home Page:https://turbo87.github.io/sidebar-v2/examples/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Top Left Google Maps control is not moving along when sidebar opens and closes

jone1joh opened this issue · comments

Top left Google Maps control will not move along (aka they will not remain visible if the sidebar is opened).
The following css pattern appears 10 times in gmaps-sidebar.css .
.sidebar-left ~ .sidebar-map .gm-style > div.gmnoprint[style*="left: 0px"] {

changing all 10 similar patterns to

.sidebar-left ~ .sidebar-map .gm-style > div div.gmnoprint[style*="left: 0px"]:first-of-type {

Seems to correct the issue for me.

Having the same issue on the Leaflet map when I added controls for changing the image layer being used

I've yet to find a solution but will try adapting your fix for the Leaflet scss, although I'll need to figure out scss syntax first