I cannot seem to be able to add markers to the map. Search works fine and the map loads alright. Here is my code, could you please help me figure out what is wrong. Thanks!
function addMarker(place)
{
myLatLng = new google.maps.LatLng(parseFloat(place.latitude), parseFloat(place.longitude));
var marker = new MarkerWithLabel({
icon: "http://maps.google.com/mapfiles/kml/pal2/icon31.png",
position: myLatlng,
map: map,
labelClass: "label",
labelContent: place.place_name + ", " + place.admin_name1 + ", " + place.postal_code,
labelAnchor: new google.maps.Point(20,0)
});
google.maps.event.addListener(marker, "click", function()
{
showInfo(marker, place.postal_code ); });
markers.push(marker);
}