How Can We Help?
Google Map Filters
Map filters is an addon for real estate manager to display properties on map and filter using a search form. It includes the following shortcodes
Search Form
The default shortcode for rendering a search form is
[rem_map_search_form]
It displays a search form with the following fields, 2 on each line.
- Keywords
- Property Type
- Purpose
- Address
- Country
- Price Range
You can use the following attributes for this shortcode.
Attribute | Default Value | Description |
---|---|---|
fields_to_show | property_address,search,property_type,
property_country,property_purpose,property_price |
Provide comma separated field names to display on the search form |
columns | 6 | Width of each field from 12 columns grid. 4 for three fields in a row, 12 for one field in a row. |
search_btn_text | Search | Text to display on search button |
fixed_fields | Provide fixed fields same as meta tag to search within specific criteria. | |
disable_eq_height | Set it to yes if you want to make all fields equal in height. | |
agent_id | Provide agent id here to display only that agent’s properties | |
fields_margin | 0 0 10px 0 | Fields margin, top, right, bottom left respectively. |
icons_by_meta | Please read details here | |
icons_data | Please read details here | |
slider_bg_color | Price slider background color, provide color name or hex | |
slider_handle_color | Price slider handles color, provide color name or hex | |
slider_badge_bg_color | Price slider badge background color, provide color name or hex | |
slider_badge_text_color | Price slider badge text color, provide color name or hex |
Display Map
The following shortcode will render a map, that will update the listings on searching through above form.
[rem_map_area]
Please note that map will automatically zoom in/out to cover all the available results. You can use the following attributes for this shortcode
Attribute | Default Value | Description |
---|---|---|
address | Location address for the map when it loads for the first time. | |
lat | Latitude if you don’t want to use address attribute. | |
long | Longitude if you don’t want to use address attribute. | |
zoom | 5 | Map zoom level. |
map_styles | Options set here | Google Map styles object. |
map_height | 500px | Provide map height here. |
Search Results
You can also display the results as listings without the map. Use the following shortcode for this purpose
[rem_map_search_results]
Following 2 attributes are available for this shortcode
- title -> Title will display above the results.
- title_wrap -> Use it to provide a custom wrap for the title. Default is
<h2>%title%</h2>
Pre Made Styles
We have also included 4 pre-made styles with fields and map combination. You can the following shortcode
[rem_map_filters style="1"]
You can provide styles 1 to 4. This shortcode also supports all the attributes of these two shortcodes.
- [rem_map_search_form]
- [rem_map_area]