dcsimg
IE error. Document element is null or not an object.
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   niko_neko
Posted On:   Friday, February 16, 2007 12:25 AM

Google Maps API Example - overlay markers = []; if (locations.length){ for (var i = 0; i < locations.length; i++) { // cycle thru locations markers[i] = new GMarker(new GLatLng(locations[i].getAttribute("lat"),locations[i].getAttribute("lng"))); // Add attributes to the marker so we can poll them later. // When clicked, an overlay will have these properties. markers[i].infowindow = " "+locations[i].getAttribute("name")+ " "+" "+locations[i].getAttribute("adresa")+ " "+locations[i].getAttribute("grad")+" " +&   More>>
Google Maps API Example - overlay



markers = [];

if (locations.length){

for (var i = 0; i < locations.length; i++) { // cycle thru locations

markers[i] = new GMarker(new GLatLng(locations[i].getAttribute("lat"),locations[i].getAttribute("lng")));

// Add attributes to the marker so we can poll them later.

// When clicked, an overlay will have these properties.

markers[i].infowindow = ""+locations[i].getAttribute("name")+ ""+"
"+locations[i].getAttribute("adresa")+ "
"+locations[i].getAttribute("grad")+"
"
+"Tel.: "+locations[i].getAttribute("telefon")+", Fax: "+locations[i].getAttribute("fax")+"
"+locations[i].getAttribute("email")+"
"+locations[i].getAttribute("url");



markers[i].markerindex = i;

markers[i].db_id = locations[i].getAttribute("id");

map.addOverlay(markers[i]);



}

}

}

}

request.send(null);

}



//]]>

]]>














v:* {

behavior:url(#default#VML);

}















   <<Less
About | Sitemap | Contact