Merge pull request #19 from ralreegorganon/master
Update marker display on zoom as well as pan
This commit is contained in:
commit
4bf75c568a
|
@ -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());
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue