I'm creating an array of information to populate markers using the Google Maps API.
How can I use the following script to add html to the markers?
The array while be built in a php loop.
var markers = [];
var title = [];
var point = new GLatLng(51.505804230524056,-0.11801719665527344);
marker = new GMarker(point);
map.addOverlay(marker);
markers[0] = marker;
title[0] = "marker 0";
var point = new GLatLng(51.45400691005981,-0.263671875);
marker = new GMarker(point);
map.addOverlay(marker);
markers[1] = marker;
title[1] = "marker 1";