Streetview

This topic contains 2 replies, has 3 voices, and was last updated by  Laurence Maisey 9 years, 9 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #18065

    Sean McMe
    Free User

    How can I set street view for the Gmap listing widget? any solutions?

    #18080

    Guust
    Moderator
    Post count: 29970

    Hi Sean, you can’t add streetview with the current version.
    Sounds like a feature request you can add here if you like: https://wpgeodirectory.com/requests/

    #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 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount