1. Home
  2. Docs
  3. Developer Guide
  4. Shortcodes
  5. [property_static_map]

[property_static_map]

Output a map showing a property’s location, assuming it has a latitude and longitude set. This will using the Google Maps Static API and will produce an image of the map.

[property_static_map]

Attributes

Attribute: height

Description: The height of the map div.

Default: 400

Example: [property_static_map height="map_x"]


Attribute: zoom

Description: The default zoom level of the map

Default: 14

Example: [property_static_map zoom="16"]


Attribute: link

Description: Whether or not the map image should link off to Google Maps

Default: true

Example: [property_static_map link="false"]


Attribute: id

Description: Only applicable if displaying multiple property maps on the same page, such as on the search results page. Each ID passed in should be unique.

Default: (empty)

Example: [property_static_map id="map_x"]

Was this article helpful to you? No Yes

How can we help?