Data pages
Map Search for MLS Listings
Listings as pins on a map, with the list updating as the visitor moves the map.
Part of the What to Build With MLS Data guide · Last reviewed 2026-11-20

A map search shows listings as pins and updates the list as the visitor moves or zooms the map. Each listing's position comes from the Latitude and Longitude fields. When the map moves, your page sends the map's corners to your server code, which asks the feed for active listings inside that box and returns them as pins.
Key takeaways
- Positions come from Latitude and Longitude.
- Ask the feed only for listings inside the visible map box.
- The map service has its own key, separate from your MLS key.
- Show a list beside the map for visitors who prefer reading to clicking pins.
Need the data feed for this? Saige is an approved MLS data vendor in BC. Send a request and our team will contact you.
Asking for the map box
Filter on Latitude between the map's south and north edges, and Longitude between its west and east edges, plus your usual filters. Limit the number of pins at wider zoom levels and ask the visitor to zoom in.
$filter=StandardStatus eq 'Active' and Latitude ge 49.260 and Latitude le 49.275 and Longitude ge -123.185 and Longitude le -123.140
Map service keys
Map services such as Google Maps or Mapbox issue browser keys meant to sit in page code, limited to your domain. That is different from your MLS key, which must never reach the page. Lovable's own docs make the same distinction between private keys and browser keys designed for the front end.
Frequently asked questions
Which map service should I use?
Any service your builder supports. Restrict its browser key to your own domain.
Can visitors draw their own search area?
Yes. Ask the feed for the box around the drawn shape, then keep only listings whose position is inside the shape.
Do all listings have a map position?
Hide the pin for any listing without a position, and keep that listing in the list.
Related pages in this guide
Sources
Every claim on this page that could be checked against a primary source is linked below. Where something is not publicly documented by a vendor, the page says so rather than filling the gap with an estimate.
- Data Dictionary 2.0: Property resource (Real Estate Standards Organization (RESO))
- Integrate any API (Lovable)