=== Interactive Real Estate – Floor Plan & Building Visualizer ===
Contributors: esaia, freemius
Tags: real estate, floor plan, interactive floor plan, property listings, apartment search
Requires at least: 5.0
Tested up to: 7.0
Stable tag: 2.5.1
Plugin URI: https://www.ireplugin.com
Donate link: https://paypal.me/esolleso
License: GPL2
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Floor plan & building visualizer for real estate developers. Show apartments, availability, and pricing on clickable maps. No coding needed.

== Description ==
[Upgrade To Pro!](https://www.ireplugin.com/pricing) | [Live Demo](https://www.ireplugin.com/demos) | [Module Demo](https://www.ireplugin.com/module) | [Support](https://www.ireplugin.com/contact)

### Interactive Floor Plan & Building Visualizer for WordPress ###

[Interactive Real Estate](https://www.ireplugin.com/) is a WordPress plugin built for **real estate developers, construction companies, and property agencies** that need to present new developments online. Turn your building renders and floor plan images into a fully interactive property search experience — buyers click on a unit, see its details, and request a callback, all without leaving the page.

No coding required. Works with any WordPress theme.

[vimeo https://vimeo.com/1114859127]

### Why Construction Companies Choose This Plugin ###

Static images and PDF floor plans lose leads. Buyers expect to explore a development the way they explore a map — click a floor, click a unit, see what's available. Interactive Real Estate gives your WordPress site that experience in hours, not weeks.

- **Convert more leads** — buyers engage longer when they can explore units interactively
- **Show real-time availability** — mark units as available, reserved, or sold with custom statuses
- **Present pricing clearly** — display price, area, room count, and custom fields per unit
- **Works for any property type** — apartment buildings, residential complexes, cottage communities, commercial developments, multi-block projects

### Draw Clickable Areas on Any Building Image ###

[Upload your building render or floor plan](https://www.ireplugin.com/module), then draw clickable SVG polygons directly on the image. Each area links to a unit (flat, apartment, office) with its own details page or modal popup. Zoom in while drawing for pixel-precise selections, then pan around with the spacebar.

### Interactive Floor Plan Navigation ###

Buyers can click a building to select a floor, then click a floor to browse individual apartments. Each click reveals unit details: size, price, availability status, room count, and any custom fields you define. No page reloads — everything happens inline.

### Apartment & Property Listing Features ###

- Filterable **apartment list** with price range, area, floor, room count, and status filters
- **Table view** with sortable columns for a spreadsheet-style browsing experience
- **Custom statuses** — available, sold, reserved, or any label you define
- **Custom fields** — add any data point relevant to your development (view, orientation, parking, etc.)
- **Flat types** — define a layout once and reuse it across dozens of identical units
- **Shareable unit links** — let buyers save and share a specific apartment

### Lead Generation Built In ###

Buyers can submit a callback request directly from the unit modal. You receive responses by email and can read them in the WordPress dashboard. No third-party form plugin needed.

### 360° Building Viewer (Add-On) ###

The **360° Building Add-On** lets you present a building as a spinning, rotatable image sequence — the same experience buyers see on car-configurator sites. Overlay clickable SVG polygons on the 360° view so buyers can click on any unit from any angle and see its details instantly.

Use the `[irep_360]` shortcode to embed it on any page. Ideal for showcasing exterior facades, rooftop views, or any development where showing the full building from all angles improves the buying experience.

- Drag or auto-spin through a full 360° image sequence
- Clickable SVG areas on the rotating image
- Unit details open in a modal — same as the standard floor plan viewer
- Works alongside `[irep_project]` and `[irep_flats]` on the same page

### Shortcodes — Place Anywhere on Your Site ###

Use shortcodes to embed the building viewer, floor plan, or apartment list on any page, post, or landing page:

- `[irep_project]` — interactive building and floor plan viewer
- `[irep_flats]` — filterable apartment list with table view
- `[irep_360]` — 360° spinning building viewer (add-on)

Also available as **Gutenberg blocks** for block-editor users.

### Project Export / Import ###

Duplicate or migrate full projects — buildings, floors, flats, types, and all settings — in a single export file.

**Why it helps:**
- **Save time**: Copy projects without rebuilding them by hand
- **Keep backups**: Store your project settings safely


### Key Features ###
- Draw SVG polygon areas on building renders and floor plan images
- Zoom and pan while editing for precise polygon placement
- Real-time preview of changes in the admin
- Organize projects by blocks, floors, and flats
- Custom statuses: available, sold, reserved, and more
- Callback request form with email notifications
- Embed anywhere with shortcodes or Gutenberg blocks
- Open a detail page or modal popup when a unit is clicked
- Export and import full projects


### [⭐ Premium Features](https://www.ireplugin.com/pricing) ###
- Create **unlimited** projects (1 in the free version)
- Create **unlimited** flats (25 in the free version)
- Run a **script** when a path is clicked
- Customize **SVG path** colors per status and unit
- Project export and import
- Custom currency symbol
- 24/7 **premium** support
- Access to **updates**


### [⭐ Gold Features](https://www.ireplugin.com/pricing) ###
- Everything in Premium
- **Lead capture form** — buyers fill out a callback request from the unit modal
- View and manage form responses in the dashboard
- **Shareable unit links** — buyers can bookmark or share individual apartments
- **Filterable apartment list** shortcode with price, area, floor, and status filters
- **Custom Flat Field Builder** — add any data field to your units
- **Custom Table Field Builder** — configure which columns appear in the list view
- **Custom statuses** — sold, reserved, or any label your sales team uses


### Who Uses Interactive Real Estate? ###

- **Real estate developers** launching new residential or commercial projects
- **Construction companies** showcasing apartments, townhouses, or cottage communities
- **Property agencies** presenting off-plan developments to buyers
- **Architects and project marketers** building sales microsites for new developments

Replace your static floor plan PDF with an interactive experience that keeps buyers on your site and sends you qualified leads.

[Upgrade to Interactive Real Estate Premium](https://www.ireplugin.com/pricing) to unlock unlimited projects, lead capture, and the full apartment list shortcode.


### Live Demos and Documentation ###

- [**Live Demo**](https://www.ireplugin.com/demos): See the plugin in action on a real development
- [**Admin Module Demo**](https://www.ireplugin.com/module): Try drawing areas on a building image
- [**Video Tutorial**](https://vimeo.com/1114859127): Full setup walkthrough
- [**Documentation**](https://www.ireplugin.com/doc/intro): Complete guide and FAQ


== Installation ==
1. Install the plugin from the WordPress Plugin Installer, or upload the ZIP file from WordPress.org.
2. Activate the plugin.
3. Open **Interactive Real Estate** in your WordPress dashboard.


== Video Tutorial ==

If you want a simple step-by-step guide, watch the video tutorial here:

[Watch the Video Tutorial](https://vimeo.com/1114859127)

[vimeo https://vimeo.com/1066104737]


== Source Code ==
The unminified JavaScript and CSS source code is available here:
[link](https://github.com/esaia/interactive-real-estate)

== Build Instructions ==
To rebuild the minified JavaScript files:

1. Clone or download the repository.
2. Run `npm install` to install dependencies.
3. Run `npm run build` to generate the minified files.
4. The minified files will be located in `dist/assets/index.js`.

== Frequently Asked Questions ==

= What is Interactive Real Estate and who is it for? =
Interactive Real Estate is a WordPress plugin for construction companies, real estate developers, and property agencies. It lets you add a clickable, interactive floor plan or building map to your WordPress site — buyers can click on apartments, see availability and pricing, and submit a callback request. No coding required.

= How do I create an interactive floor plan in WordPress? =
Upload your building image or floor plan render in the plugin admin, then draw SVG polygon areas on top of it. Connect each area to a flat or floor with its details (price, area, status, rooms). Then place the `[irep_project]` shortcode or Gutenberg block on any page. That's it — visitors see a fully interactive floor plan with clickable units.

= Can I show apartment availability — available, sold, reserved? =
Yes. Each unit has a status (available, sold, reserved, or any custom label you define). Statuses are color-coded on the building map so buyers can see availability at a glance.

= Does this work for multi-building or multi-block developments? =
Yes. You can organize a project into multiple blocks, each with their own floors and units. This works for apartment complexes, gated communities, cottage developments, and any multi-building real estate project.

= Can I display a filterable apartment list? =
Yes. The `[irep_flats]` shortcode displays a filterable and sortable apartment list. Buyers can filter by price range, area, floor, number of rooms, and availability status. A table view is also available for a spreadsheet-style layout. (Gold plan feature.)

= Can buyers submit a contact or callback request? =
Yes. In the Gold plan, a lead capture form is built into the unit modal. Buyers can fill out a callback request, you receive it by email, and all responses are stored in the WordPress dashboard.

= What is included in Interactive Real Estate Premium? =

**[The Premium version includes](https://www.ireplugin.com/pricing):**

- Unlimited projects (1 in the free version)
- Unlimited flats/apartments (25 in the free version)
- Custom SVG path colors per status
- Run a script when a unit is clicked
- Project export and import
- Custom currency symbol
- 24/7 premium support and updates

= Can I use this plugin for multiple buildings? =
Yes. You can create and manage multiple building projects separately and place each one anywhere on your site with shortcodes. The free plan allows 1 project; Premium and Gold allow unlimited projects.

= Do I need to know how to code? =
No. The plugin is built for marketing and sales teams, not developers. Upload your image, draw areas in the visual editor, set unit details, and paste a shortcode. No coding at any step.

= Is there a live demo? =
Yes. Visit [https://www.ireplugin.com/demos](https://www.ireplugin.com/demos) to see the plugin working on real property developments. You can also try the [admin module demo](https://www.ireplugin.com/module) to see how area drawing works.

= Is there a 360° building viewer? =
Yes. The **360° Building Add-On** adds a spinning, rotatable building viewer to your site. Upload an image sequence, draw clickable SVG areas on top of it, and buyers can rotate the building and click on individual units from any angle. Embed it with the `[irep_360]` shortcode. The add-on is available separately at [ireplugin.com/pricing](https://www.ireplugin.com/pricing).

= Does it work with Gutenberg? =
Yes. Both the building viewer and the apartment list are available as Gutenberg blocks in addition to shortcodes.

= I have a question or need help with the plugin, how do I contact your support team? =
Post in the [WordPress support forum](https://wordpress.org/support/plugin/interactive-real-estate/) or use the [contact page](https://www.ireplugin.com/contact). Premium and Gold customers receive priority support.


== Plugin Support ==
For support, visit [https://www.ireplugin.com/contact](https://www.ireplugin.com/contact). You can also email **interactiverealestateplugin@gmail.com**.

== License ==
Interactive Real Estate is licensed under GPL2. For more details, see the [GPL2 License](http://www.gnu.org/licenses/gpl-2.0.html).


== Screenshots ==
1. Interactive building module
2. Flats list 
3. Create interactive floor plan
4. Edit flat
5. Interactive real estate cottages demo
6. Block buildings example, create hotspots


== Changelog ==
= 2.5.1 =
* feat: 360 viewer settings — loop on/off, rotation speed, reverse direction, sidebar open by default
* feat: manage filters for the `[irep_360]` shortcode
* feat: price history XML feed supports multiple investments (one per project)
* refactor: redesigned status select dropdown in filters
* fix: 360 apartments sidebar filters now react to saved filter options
* fix: navigation arrows disable at the first/last image when loop is off
* fix: prevent fatal error when a project has no meta rows saved
* fix: price history chart labelled "all time" instead of "last 6 months"

= 2.5.0 =
* feat: add mobile image/SVG variant support for blocks & projects
* feat: bulk price update via Excel export/import for flats
* feat: configurable XML tags, extra flat fields & images for price history feed
* feat: redesign empty state for 360 apartments filter sidebar
* refactor: landing page redesign & plugin updates in copy paste paths flow
* fix: status select overlapping clear filters button in flats list

= 2.4.2 =
* feat: add shortcode for only blocks
* feat: Add multy views for blocks
* refactor: change status select component in filteres

= 2.4.1 =
* feat: turn on/off price, area, rooms, floors, status from filteres
* feat: turn on/off specific statuses in filteres options
* feat: add different views for interactive image
* refactor: edit flat modal UI
* refactor: add general settings subpage
* feat: WhatsApp / custom URL inquiry redirect on request price flats
* fix: scope box-sizing reset to plugin container to avoid theme conflicts
* fix: floor "starting from" price and counts for polygon-assigned flats

= 2.4.0 =
* refactor: improved admin panel UI with Gutenberg components
* feat: `irep_flats` shortcode supports default view option
* feat: add tooltip style option 4
* feat: flat preview modal supports 2 layouts
* style: improved form responses UI
* refactor: improved SVG creation canvas for a more user-friendly experience
* feat: export/import now includes images and supports migrating projects across different WordPress environments
* feat: updated filters from select dropdowns to range inputs in flat preview shortcode
* feat: introduce 360° building module add-on (`[irep_360]` shortcode)

= 2.3.0 =
* feat: support apartment price history add-on
* feat: make table action icon changeable
* feat: filters by block id in flats list shortcode
* feat: add 2 Gutenberg blocks for our shortcodes
* feat: second type of flat preview modal
* style: optimize flat list shortcode styles
* style: optimize apartment modal UI
* fix: import project bugs


= 2.2.1 =
* feat: add dynamic filters feature in 'irep_flats' shortcode
* fix: visual bugs in shortcodes


= 2.2.0 =
* feat: dynamic statuses
* feat: optimize zooming and panning in canvas
* feat: add circles on already created svg path
* refactor: remove preview images (now they are coming from the plugin website)

= 2.1.2 =
* feat: add drag and drop where needed
* style: improved shortcode UI
* fix: floor saving issue


= 2.1.1 =
* feat: change flat config from list with switcher
* feat: flats table component responsive
* fix: remove reset.css in shortcode components



= 2.1.0 =
* feat: flat custom fields feature
* feat: flat active status changing with switcher
* feat: table view feature in '[irep_flats]' shortcode with sorting and filters
* feat: add filters in '[irep_flats]' shortcode
* fix: bugs
If upgrading from a previous version, please verify your flat floor assignments as the connection method has changed from title-based to ID-based matching.


= 2.0.4 =
* fix: Import/Export project bugs

= 2.0.3 =
* feat: send form responses to administrator mail
* fix: form UI in flat modal

= 2.0.1 =
* refactor: minor changes in UI

= 2.0.0 =
* feat: add `irep_flats` shortcode to display flats list with filters
* feat: allow clients fill request callback form
* feat: read form responses
* feat: create a shareable flat link
* feat: add primary color feature
* feat: create GOLD plan license
* refactor: optimized code & fixed bugs

= 1.0.12 =
* feat: add area units support
* fix: prevent nonce conflict due to caching

= 1.0.11 =
* feat: add request price feature on flat prices.

= 1.0.10 =
* refactor: remove required on price field to hide price as user wants.
* fix: export/import issue.

= 1.0.9 =
* refactor: shortcode code is more lightweight
* refactor: optimize folder structure
* refactor: add follow link feature on flat click
* style: optimized shortcode component styles 

= 1.0.8 =
* refactor: optimized styling of tooltips and flat preview modal.
* feat: added 3 config: rounded price, open reserved flats, open sold flats.
* fix: minor bugs about floor/flat saving.

= 1.0.7 =
* fix: project request blocking issue caused by Wordfence plugin compatibility.

= 1.0.6 =
* feat: export/import project.
* tooltip styles.

= 1.0.5 =
* Create modal for flat detail view.
* translate plugin.

= 1.0.4 =
* Added a new DB class to handle CRUD (Create, Read, Update, Delete) operations for database manipulations in the plugin.
* Optimization: Improved code structure and performance for better maintainability and efficiency.

= 1.0.3 =
* feat: Added two new tooltips for improved user guidance. Resolved JavaScript enqueue conflicts, ensuring compatibility across multiple themes.

= 1.0.2 =
* add image border radius feature

= 1.0.1 =
* Updated Freemius SDK to the latest version.

= 1.0.0 =
* Initial release of the Interactive Real Estate plugin.

