I may be using the wrong terminology here but..
How do I replace the hard-coded “position: {lat: 37.869260, lng: -122.254811}” in the following JS code, with the values from the post_latitude and post_longitude CSV file so that each individual listing’s long/lat coordinates are pulled-in/inserted on import…
var panorama;
function initialize() {
panorama = new google.maps.StreetViewPanorama(
document.getElementById('street-view'),
{
position: {lat: 37.869260, lng: -122.254811},
pov: {heading: 165, pitch: 0},
zoom: 1
});
}