2
votes
Accepted
CS50 Pset8: Info Window Not Showing
One problem is this syntax markers += marker;. That does not add an element to an array in js. The array method push adds elements to an array.
Another problem is here marker.addListener(map, "click"...
1
vote
Accepted
Mashup - Listener for click on marker not working
All things being equal, this arr.push(marker) is a problem. The distro code initializes an array called markers; unless you have initialized an array called arr, this line will give an error in the ...
1
vote
getMap() method with infoWindow object
Check the link in the comment: http://stackoverflow.com/a/12410385
It's not documented thus subject to changes but it still exists.
1
vote
Accepted
pset8 addMarker undefined in info window
I incorporated this addMarker function into my app and it showed the list of articles in the info window (though the articles don't have "links"). So I "tweaked" articles; changed
return jsonify(...
1
vote
pset8 infowindow shows up only after click twice
After discussing with my friends, we found the problem is due to the order of the code (although I am still not very clear why this old order would be buggy): instead of including getJSON function in ...
1
vote
Accepted
PSET8 problem with infowindow
Let's look at this: if(jQuery.isEmptyObject(content))
What is inside the variable content when you pass it to the showInfo() function via the addMarker() function?
It's always a long string full of ...
1
vote
pset8 addmarker info window
Here's a problem:
marker.addListener("click",function(){
$.ajax({url:"../articles.php",
type:"GET",
data:{geo:place.place_name},
success:function(response){
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
infowindow × 8pset8 × 7
addmarker × 4
mashup × 3
python × 1
javascript × 1
google-maps-api × 1
undefined × 1