IProperty

Intellectual Property is a full-featured real estate extension for the Joomla! CMS

IPReserve

IPReserve is a reservation extension for IProperty.

IReport

Need to keep track of your IProperty stats? Meet IReport - a reporting tool for IProperty!

Work Force

Work Force is a staff listing extension for the Joomla! CMS. Show off your employees with style!

Report Card

Report Card is a testimonials extension for the Joomla! CMS. What are people saying about your company or product?

UTransport

Ultra Transport is a full-featured vehicle listing extension for the Joomla! CMS

Project Log

Project Log is a project management extension for the Joomla! CMS. The best part is, it's totally free!

Forums

Have pre-sales questions or need support for an existing subscription? Look no further - we have active support forums and pride ourselves on friendly and timely response!

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
5 years 7 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
5 years 7 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
5 years 7 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
5 years 7 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
5 years 5 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.

More
5 years 5 months ago #38611 by confidant
confidant replied the topic: Modify Advanced Search to facilitate map browsing
Thanks rortegagpe,
For the cusom icon I modified property_gmap.js near line 45 like below. I also did an override of default_map_google.php to point to a duplicate of that javascript file so that it wouldn't get overwritten with a future upgrade.
// don't add the marker if there's a KML file supplied
        if (!ipmapoptions.kml){
            var marker = new google.maps.Marker({
                position: ipPropertyMap.location,
                map: ipPropertyMap.map,
                draggable: false,
            	icon: '/images/ICR-map-icon.png'//ipmapoptions.mapicon
            });
        }

As for having the full properties on the map, this represents many hours of work for which I did not get paid, so if you're really interested that one is for sale. Let me know if you're interested and I can come up with a reasonable price.

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

Time to create page: 0.294 seconds