20 Sty 2009

Dodanie markera nad statyczna mapa w stylach

<style type=”text/css”><!–

#map_sm {
    position: relative;
    z-index: 1;
}

.zuz {
    position: absolute;
    background:url(
http://labs.google.com/ridefinder/images/mm_20_red.png) 50% 50% no-repeat;
    z-index: 2;
    width: 273px;
    height: 136px;
}

 // –></style>

<BODY>
<div class=”map”>
    <div id=”map_sm” style=”width:273px;height:136px;cursor:pointer;”><div class=”zuz”> </div><img src=”
http://maps.google.com/staticmap?center=52.50428771972656,13.31639289855957&zoom=14&&size=273×136&key=…”></div>
</div>
</body>