1. Docs
  2. Developer Guide
  3. Shortcodes
  4. [property_map]

[property_map]

Output a map showing a property’s location, assuming it has a latitude and longitude set.

[property_map]

Attributes

Attribute: height

Description: The height of the map div.

Default: 400

Example: [property_map height=”map_x”]


Attribute: zoom

Description: The default zoom level of the map

Default: 14

Example: [property_map zoom=”16″]


Attribute: scrollwheel

Description: Whether or not using the mouse scroll wheel should zoom in/out the map

Default: true

Example: [property_map scrollwheel=”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_map id=”map_x”]

Was this article helpful to you? Yes No