It is possible, yes. It's not particularly easy, since Google don't give you many hooks to nail down that div
and it's not a documented feature so they could change it whenever they want.
Looking at the page source, your best bet is to use the gm-style-mtc
class to target the base div
of the map selector:
<div class="gmnoprint gm-style-mtc" style="margin: 5px; z-index: 0; position: absolute; cursor: pointer; text-align: left; width: 200px; right: 0px; top: 0px; background-color: rgb(255, 35, 0);">
So your CSS becomes:
<style>
.gm-style-mtc > div:first-child {
width: 150px;
height: 60px;
...and so on
}
</style>
You can target the children (the individual options in the dropdown, etc) by using some combination of .gm-style-mtc > div
, gm-style-mtc > div > div
etc. Endless fun to be had with child selectors.
This question might be useful to you as well.