The Thinkery

Not finding what you're looking for? Don't hesitate to contact us!

Before Posting...

Before posting questions in the forums, please be sure to read the FAQs by clicking on the FAQs link in the sidebar product menu. You must be logged in and have a valid subscription to access the SUPPORT FORUMS.
×
Support Policy Notice

As outlined in our Rules section (though never closely followed by our staff!), effective immediately we will no longer be taking time to provide customizations of our products.

Modify Advanced Search to facilitate map browsing

More
9 years 5 months ago #36865 by confidant
confidant created the topic: Modify Advanced Search to facilitate map browsing
There are some real estate sites (e.g. www.collierscanada.com/en/Properties ) which have both a map and search results, but their map shows ALL of the properties while the search results are still limited to multiple pages of results. This is an intuitive way of checking whether there are properties in your desired search area.

Intellectual Property's advanced search currently has a map that only displays the current page of results, which leads some users to think there aren't any other listings.

Have you thought about having the map decoupled from the paged results?

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #36866 by tim
tim replied the topic: Modify Advanced Search to facilitate map browsing
Showing all results on a map would likely crash the browser-- Google recommends not showing more than 100 markers, since they each use memory.

Thanks

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #36867 by confidant
confidant replied the topic: Modify Advanced Search to facilitate map browsing
I had posted a while back about using marker clustering. I have successfully modified IP to use that. ( www.icrcommercial.com/sales-leasing ) I also tried modifying it to display all of our properties—this does cause script timeout in FireFox but I am wondering if that's because it's also trying to load all of the listings below the map at the same time.
Any thoughts on that?

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #36868 by tim
tim replied the topic: Modify Advanced Search to facilitate map browsing
Nice work-- I'd done a marker cluster version of the adv search map some time ago as well.

To really work well, it would take significant customization. I think you'd want to do two queries, one with a minimal data set, just lat / lng and prop id for the clusters, then a more "full" data set returned to populate the results area and the listing markers. I assume it's running into issues trying to pull the whole database into one browser session via ajax request-- depending on the size of the site, that can be a huge amount of data.

Please Log in or Create an account to join the conversation.

More
9 years 4 months ago #37192 by confidant
confidant replied the topic: Modify Advanced Search to facilitate map browsing
I have now successfully modified IP to have all results on map while the listed results are paginated. I also managed to do it so that future upgrades should not break it. :)

Please Log in or Create an account to join the conversation.

More
9 years 3 months ago #38610 by rortegagpe
rortegagpe replied the topic: Modify Advanced Search to facilitate map browsing
Great Job! I just saw this post. Quick question, If you don't mind what did you do to get this work, also, how can get the google map to show my custom pins versus the house icon. This is a commercial site and I'd like to use our custom pins. I appreciate the feedback!

Please Log in or Create an account to join the conversation.

Time to create page: 0.205 seconds