Shortcodes - [property_street_view]

About the shortcode

This shortcode will output a street view map on the single property page:

[property_street_view]

Use the attributes below to further customise the shortcode output, for example:

[property_street_view height="600"]

Note that a property must have co-ordinates set under the 'Summary' tab of a property record for the street view to display.

Note that not every address has street view available, such as some farms, new builds, or properties on remote lanes. We are not able to detect this before showing the street view so if you get a black box, this might be the reason.

Attributes

Attribute: height

Description: The height of the street view div.

Default: 400

Example: [property_street_view height="600"]


Attribute: init_on_load

Description: Whether or not the street view should be initialized by default when the page loads. If the street view is behind a tab you might want to set this to false  to reduce Google API usage. You would then need to make a JS call to initialize_property_street_view();  when the tab was clicked.

Default: true

Example[property_street_view init_on_load="false"]