PropertyCapsuleacquired by VTS in 2019

Commercial Real Estate Mapping Software for PropertyCapsule.

We built PropertyCapsule, an interactive property map that displays commercial property data on Google Maps, embeds on any website with a single snippet, and uses a custom spiral algorithm to keep dense retail data readable at every zoom level.

Google MapsJavaScriptAngularPHPMySQL
PropertyCapsule property card for Gellert Marketplace with its site plan and demographics
Industry
Commercial real estate (PropTech)retail
Services
Web developmentUI/UX design
1Code snippet to embed the map on any website
0JavaScript frameworks in the embed, to keep it lightweight
3Map elements for property data: markers, polygons and lines

About this engagement

PropertyCapsule is a cloud-based platform that helps commercial real estate professionals centralize, automate and publish property data across iPads, phones, laptops and websites. At the time of its 2019 acquisition by VTS, Bloomberg reported that PropertyCapsule managed about 2 billion square feet of retail properties. It needed property mapping software built on Google Maps that could show complex property data, embed anywhere, and stay readable even when many retailers sat close together.

What we did

We built a lightweight embeddable map app without any JavaScript framework, so it loads fast on any host page. Alongside it, we built a parent Angular app with user registration, authentication and premium sharing features, and a custom spiral algorithm that places overlapping retailers outward from the center so every one stays visible. PropertyCapsule's customers can now add responsive property maps to any website that supports iframes, with a single code snippet.

ClientPropertyCapsule (acquired by VTS in 2019)
ProductEmbeddable map app and parent web app
Core technologyGoogle Maps API, Angular, PHP, MySQL
Challenges

Challenges in mapping dense commercial property data

Standard Google Maps couldn't do what PropertyCapsule needed. The map had to carry a lot of property information, run inside other people's websites, and handle retail areas where businesses sit almost on top of each other.

A map showing every nearby retailer is only useful if you can still read it.

The four challenges

Four requirements pushed the project well beyond a standard map embed.

01

A map built for property data

Overviews, agent contacts, site plans, tenant lists, photos and demographics all had to appear on a single map interface.

Edge cases we had to solve

Building a map that runs inside other websites created three problems we had to handle along the way.

  1. 01
    Staying light on someone else's page

    The embed runs on websites we don't control, so we had to keep it small enough that it wouldn't slow those pages down.

  2. 02
    Managing state without a framework

    Leaving out a JavaScript framework kept the embed light, but it meant we had to handle the app's state management ourselves.

  3. 03
    Fitting any screen size

    The same embed had to fit every screen, from a phone to a laptop, without manual configuration.

The solution

Solution: commercial real estate mapping software built for performance

We took a performance-first approach. Where a choice came down to developer convenience or a lighter, faster embed, we chose the embed.

What PropertyCapsule's map needed

A standard Google Maps embed wouldn't have met the brief. The map needed three things, and each one shaped what we built.

Interactive propertymap01Spiral placementalgorithm02Parent web app03

An embed that loads anywhere

A heavy embed would slow down host websites. So we built it without any JavaScript framework, keeping its footprint minimal.

Every retailer visible

Overlapping markers made dense areas unreadable. So we built a spiral algorithm that gives each marker its own open position.

Accounts and sharing around the map

Users needed to sign in, manage properties and share maps. So we built a parent Angular app with authentication and sharing.

The three parts of the map solution

Each part handles a different side of how the maps are created, shown and shared.

Interactive property map

Responsive maps that work on any device and any website that supports iframes, added with a single code snippet.

Spiral placement algorithm

Overlapping retailers are spread outward from the central location into open positions, so the map stays readable even at its densest.

Parent web app

Secure user registration and authentication, plus premium features for sharing and collaborating on maps.

How we built it

We split the product into two apps, each built for its own job.

The embeddable map1 / 3
PropertyCapsule map with the Retailers layer and property cardsPropertyCapsule property card for Gellert Marketplace with its site plan and demographicsPropertyCapsule map with property cards laid out without overlapping
Step 01 · The embeddable map

The embeddable map

We built the embeddable map on the Google Maps API in plain JavaScript, using markers, polygons and lines to show property data in embed mode.

Tech stack

Why we chose this technology

Each choice in the stack served either the lightweight embed or the full-featured parent app.

Inside the spiral algorithm: showing dense retail data without overlap

The spiral algorithm is the most distinctive part of this build. Here's the problem it solves and how it works.

Hiding markers

What it doesShows only some retailers
The trade-offUsers miss businesses that matter to their decision

Google Maps marker clustering

What it doesMerges nearby markers into one numbered bubble
The trade-offUsers have to zoom in or click to see individual retailers

Spiral placement (our approach)

What it doesMoves each marker to the nearest open position
The trade-offEvery retailer stays visible, close to its real location
  • The problem with dense markers

    Retail areas pack many businesses into a small space. On a map, their markers land on almost the same spot, and when you zoom out they stack on top of each other until you can't tell one retailer from the next.

  • 1. Start at the center

    The algorithm begins at the central location, such as the property being shown

  • 2. Check the position

    It checks whether that spot on the map is already taken by another marker

  • 3. Spiral outward

    If it's taken, it moves outward along a spiral path to the next position

  • 4. Place the marker

    The retailer goes in the first open position the spiral reaches

  • 5. Repeat

    Each remaining retailer is placed the same way, at every zoom level

  • What it means for users

    Instead of reducing the information on the map to make it readable, the spiral keeps every retailer on screen. Users see the full picture of what's around a property at a glance, at any zoom level.

FAQs

FAQs

PropertyCapsule's map embeds through an iframe with a single code snippet. It's responsive, so it fits any screen, and because the embed uses no JavaScript framework, it stays light on the host page.

Facing similar challenges? See how we can help.

If you need commercial real estate mapping software or location-based app development for your platform, tell us what you're working on, and we'll show you how we'd approach it.

Talk to our team →
Two engineers discussing work at their laptops