Link to home
Start Free TrialLog in
Avatar of CyberAd
CyberAd

asked on

Google Maps Speed with Thousands of Pins

How does Zillow place thousands of pins on Google Maps and still make the map load fast?  Do they use any kind of special mapping software?
Avatar of David Favor
David Favor
Flag of United States of America image

Simple answer is just to look at a sample page + decode the logic being used.

If I were tasked with a project deliverable of this form, I'd start with a map, then place my pins by using an overlay SVG Canvas, as SVG rendering is massively fast, so 1000s of pins would be no problem.

Then use AJAX to round trip data, if the pins might change over time or due to map movement/zoom/reorientation.
Or better, just use Google Maps, as likely all you've described can be done... in most cases using Google Map API calls.
Avatar of CyberAd
CyberAd

ASKER

We are using Google Maps API but drawing the pins from our side takes much longer then when we look at Zillow.  We are a real estate app to and the pins do change, I was hoping that there may be some known ways of how to improve the speed.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.