# propertyhive/2.3.1/includes/avada-widgets/property-map.php

Property Hive, version 2.3.1. 40 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/2.3.1/code/includes/avada-widgets/property-map.php
- Raw: https://pluginprobe.com/plugins/propertyhive/2.3.1/raw/includes/avada-widgets/property-map.php
- Modified: 2026-09-16T09:29:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/2.3.1/code/includes/avada-widgets/property-map.php#L10-L20`.

```php
<?php

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}


fusion_builder_map( array(
    'name'        => esc_attr__( 'Property Map', 'propertyhive' ),
    'shortcode'   => 'avada_' . str_replace("-", "_", sanitize_title($widget)),
    'icon'        => 'fusiona-map', // Use a Fusion icon
    //'preview'    => dirname( PH_PLUGIN_FILE ) . '/includes/avada-widgets/' . sanitize_title($widget) . '-preview.php',
	//'preview_id' => 'fusion-builder-block-module-' . sanitize_title($widget) . '-preview-template',
    'params'      => array(
    	[
		    'type'        => 'textfield',
		    'heading'     => esc_attr__( 'Height (px)', 'propertyhive' ),
		    'param_name'  => 'height',
		    'input_type'  => 'number',
		    'value'       => 400,
		],
		[
		    'type'        => 'textfield',
		    'heading'     => esc_attr__( 'Zoom', 'propertyhive' ),
		    'param_name'  => 'zoom',
		    'input_type'  => 'number',
		    'value'       => 14,
		],
		[
			'type'        => 'radio_button_set',
			'heading'     => esc_attr__( 'Scrollwheel Zoom', 'propertyhive' ),
			'param_name'  => 'scrollwheel',
			'value'       => [
				'yes' => __( 'Yes', 'propertyhive' ),
				'no' => __( 'No', 'propertyhive' ),
			],
			'default'     => 'yes',
		],
    ),
) );
```
