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

More
7 years 9 months ago #38612 by rortegagpe
rortegagpe replied the topic: Modify Advanced Search to facilitate map browsing
This is great thank you. For now, we're keeping the google map search results as is. But I wasn't sure which file I needed to edit to change the icon. Thank you very much for pointing me in the right direction. I'll let you know if we decide t cluster all our properties on the map. Thanks again!

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

More
7 years 9 months ago #38613 by confidant
confidant replied the topic: Modify Advanced Search to facilitate map browsing
No probs, take care!

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

More
7 years 9 months ago #38640 by rortegagpe
rortegagpe replied the topic: Modify Advanced Search to facilitate map browsing
Good Morning! I wanted to thank you again for you help last week. However, for some reason it didn't work for me. Not sure why, but I did figure out another solution in the mod_ip_mapmodule folder, if you open default.php file (/modules/mod_ip_mapmodule/tmpl/default.php) on line 23/23 you'll find this snippet of code:

// check for template map and property preview icons
$map_house_icon = '/components/com_iproperty/assets/images/map/icon56.png';

and I dropped the new icon png file in that directory, I then just renamed my new icon as icon56.png.

worked like a charm. I might have missed a step with the solution you shared. but this did the trick for now, least. Thanks again.

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

More
7 years 9 months ago #38715 by tim
tim replied the topic: Modify Advanced Search to facilitate map browsing
Marker clustering will be a feature in the next release.

Thanks

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

Time to create page: 0.424 seconds