Laurence Maisey

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Streetview #56859

    Laurence Maisey
    Free User
    Post count: 1

    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
          });
    }
Viewing 1 post (of 1 total)
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount