Skip Navigation

[Resolved] Click to direct streetview of location

This support ticket is created 2 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by stuart 2 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#2077739

Hey guys, quick question...

I have a map view with a bunch of location markers, Id like to be able to click on a marker and then when this pops up have a few options (all this I can do), however is there a way I can create a link that takes me from that marker directly to a street view of the location on the marker?

Thanks

#2078771

Waqar
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting us and I'd be happy to assist.

Based on some research online, I found that a direct link to a location's street view can be created using the latitude and longitude values:
https://stackoverflow.com/questions/387942/google-street-view-url

Here is an example link that works in my test:


<a href="<em><u>hidden link</u></em> field='location-field-slug' format='FIELD_LATITUDE,FIELD_LONGITUDE'][/types]" target="_blank">View in street view</a>

Note: Please replace "location-field-slug" with your actual location field's slug.

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2078987

My issue is resolved now. Thank you! - Support again ... awesome!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.