Merge pull request #19 from ralreegorganon/master

Update marker display on zoom as well as pan
This commit is contained in:
Erik Michaels-Ober 2012-12-11 13:51:58 -08:00
commit 4bf75c568a
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ $(function() {
}
});
}
google.maps.event.addListener(map, 'dragend', function() {
google.maps.event.addListener(map, 'idle', function() {
var center = map.getCenter();
addMarkersAround(center.lat(), center.lng());
});