Fix typo. Missing length
This commit is contained in:
parent
bd21c637f0
commit
3cafc87523
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@
|
||||||
center: map_center,
|
center: map_center,
|
||||||
zoom: 15
|
zoom: 15
|
||||||
});
|
});
|
||||||
for(var i = 0; i < places; i++){
|
for(var i = 0; i < places.length; i++){
|
||||||
var marker = new google.maps.Marker({
|
var marker = new google.maps.Marker({
|
||||||
position: {lat: parseFloat(places[i]['lat']), lng: parseFloat(places[i]['lng']) },
|
position: {lat: parseFloat(places[i]['lat']), lng: parseFloat(places[i]['lng']) },
|
||||||
map: map
|
map: map
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue