I am trying to position a div as an overlay on top of a Google Map. I can't seem to keep it contained within the Google Maps div though.
#wrapperMap {
position: relative;
}
#over {
background: #000000;
position: absolute;
top: 120px;
left: 10px;
z-index: 99;
width: 20%;
height: 380px;
opacity: 0.9;
filter: alpha(opacity=90);
color: #FFFFFF;
}
<div id="wrapperMap">
<div id="map-canvas2" style="width: 100%; height: 400px; border: 16px solid #e2e1e0;"></div>
</div>
<div id="over">
<br />
<div align="center">
<ul class="no_bullet">
<li class="school">SCHOOLS</li>
<li class="res">RESTAURANTS</li>
<li class="rec">RECREATION</li>
<li class="shop">SHOPPING</li>
</ul>
</div>
</div>
</div>
You can also see what is currently happening here, under "Current Projects -> Amenities" tab.