 
      
    HTML
- 7 ответов
- 0 вопросов
    2
    Вклад в тег
    
      
      
    
  
  
for (let i = 0; i < locations.length; i++) {
	let marker = new google.maps.Marker({
		position: locations[i].position,
		map: map,
	});
	let infowindow = new google.maps.InfoWindow({
		content: locations[i].popupContent
	});
	marker.addListener('click', function () {
		infowindow.open(map, marker);
	});
}ymaps[class*="search__suggest"]