0

in mashup, the markers are not appearing, although they appear to be loading in my Network tab in Developer Tools.

Here is my addMarker function.

function addMarker(place)
{
    // TODO
    var lat = place["latitute"];
    var lng = place["longitude"];
    var myLatlng = new google.maps.LatLng(lat,lng);
    var markerName = place["place_name"];


    var marker = new google.maps.Marker({
    position: myLatlng,
    map: map,
    title: markerName
  });
  markers.push(marker);

  var infowindow = new google.maps.InfoWindow({
      content:'<p>hello</p>'
  });
  google.maps.event.addListener(marker, 'click', function() {
          infowindow.open(map, marker);
        });
}

I have implemented search, that seems to work fine.

0

It just seemed to fix it self after some time. I restarted apache and mysql, and closed everywhere I was displaying the map and that fixed it.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .