Skip to content

Commit

Permalink
change get bounds for the google serch
Browse files Browse the repository at this point in the history
  • Loading branch information
gtsarik committed Nov 24, 2017
1 parent ba188ae commit 93a7da0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/templates/customers/customer_section.html
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,8 @@ <h4 class="margin-bottom-30" id="aoi_selected"><b>AOI selected:</b> <span>{{ sub
// Bias the SearchBox results towards current map's viewport.
map.addListener('bounds_changed', function() {
// alert('INPUT: ');
searchBox.setBounds(map.getBounds());
// searchBox.setBounds(map.getBounds());
searchBox.setBounds(map.LatLngBounds())
});

var markers = [];
Expand Down

0 comments on commit 93a7da0

Please sign in to comment.