Skip to content

Commit

Permalink
Improve Inline Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelderic committed Oct 11, 2016
1 parent ba4709e commit 0130e95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mapstractor.js
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,7 @@
});

// ADD EVENT LISTENER TO MAP FOR VIEWPORT CHANGE, TO TRIGGER UPDATING THE MAP BOUNDS
// THIS HELPS THE AUTOCOMPLETE LIST TO GIVE MORE RELEVANT RESULTS

self.gMap.addListener('bounds_changed', function() {
gSearchBox.setBounds(self.gMap.getBounds());
Expand Down

0 comments on commit 0130e95

Please sign in to comment.