1. Why isn't the addon showing all my properties?
2. What if some of my listings have the same coordinates? which one gets put on the map?
1. Why isn't the addon showing all my properties?
First, make sure all properties have lat/long
info stored in the db.
Second, adjust the search distance
(on the admin controls) to as large as necessary. (The search
distance tells the addon to pick all properties within that distance
for both lat and long, so if you choose 5 miles, it grabs all that
fit in a 10 mile square centered on your listing).
Third,
make sure you have a valid icon file for the Second Icon setting.
Finally, zoom out as necessary to see them all. (You can set
the initial zoom on the control panel too).
Also, the map
will only add active listings, and it will filter out expired
listings if you've set that option in the Open-Realty control
panel.
Back to top
2. What if some of my listings have the same coordinates? which one gets put on the map?
Actually, they should all be added.... however, the Google Maps API would stack the icons (since they all have the same coordinates), and clicking would select the one on "top". If they aren't at *exactly* the same coordinates, you could change the default zoom level. Otherwise, I suppose the easiest thing to do would be to put the latitude and longitude with more decimal places - I put them to four places on my site, and that puts the resolution at about 36 feet, but you could easily go to six or more places.
3. How do I make the information window appear whenever the user's mouse cursor moves over it without clicking?
On lines 731 and 748 of addon.inc.php, change 'click' to
'mouseover'
4. How do I make this addon work with Joomla/cmsrealty?
$link = '<a href="'.$config['baseurl'].'/index.php?action=listingview&listingID='.$pid.'">';
$link = '<a href="index.php?action=listingview&listingID='.$pid.'">';