How can I add an infowindow to a map without a marker where I can specify the position (latlng) manually. There is a solution here which uses the click location, but I want to specify it myself. So far, I tried:
var infowindow = new google.maps.InfoWindow({
content: "You start here",
position: document.getElementById('start').value
});
inside the map initialization function and used this code:
infowindow.open(map, new google.maps.LatLng(6.473500, 81.236577));
inside the listener but it didn't work. An error comes up saying it cannot read the latlng given to open the infowindow. Any ideas?