Pogledajte određenu poruku
Staro 05. 06. 2011.   #7
webarto
expert
Grand Master
 
Avatar webarto
 
Datum učlanjenja: 11.04.2010
Poruke: 998
Hvala: 141
959 "Hvala" u 153 poruka
webarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished roadwebarto is on a distinguished road
Default

Ne treba ti API key za V3...

HTML kôd:
<div id="markers" style="height:300px"></div>

<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript">
function gmaps(){
  var myLatlng = new google.maps.LatLng(44.703250,20.416741);
  var myOptions = {
    zoom: 7,
    center: myLatlng,
    mapTypeId: google.maps.MapTypeId.HYBRID
  }
 var map = new google.maps.Map(document.getElementById("markers"), myOptions);
 
 
    var marker = new google.maps.Marker({
      position: new google.maps.LatLng(44.703250,20.416741),
      title: "",
      icon: "http://www.google.com/intl/en_us/mapfiles/ms/icons/red-dot.png"
    });
    marker.setMap(map);
 
}
gmaps();
</script>
webarto je offline   Odgovorite uz citat