sg

Perşembe, Aralık 15, 2005

Re: Multiple Markers from SQL


Opps, I just read closer. I put the above stuff starting with the php,
right after this:

function createMarker(point)
{
var icon = new GIcon(baseIcon);
icon.image = "http://labs.google.com/ridefinder/images/mm_20_red.png" +
markerstyle + ".png";
var marker = new GMarker(point, icon);
// Show this markers index in the info window when it is clicked
var html = text;
GEvent.addListener(marker, "click", function()
{marker.openInfoWindowHtml(html);});
return marker;
};
var map = new GMap(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.addControl(new GScaleControl());
map.centerAndZoom(new GPoint(0, 0), 16);

0 Comments:

Yorum Gönder

<< Home


Komik Videolar   islam  şarkı sözleri  yemek tarifleri  gelibolu  huzur   sağlık