BassFace wrote: Also, at my site, you can see I finally figured out a way to get the sidebar links to open the users' comment bubbles without having to refresh/reload the page for each one! The map just pans or jumps, depending on distance, to new comment bubble.![]()
![]()
I'll be releasing a zip soon with replacement files for phoogle_map.php and phpbb_phoogle_class.php (no editing needed for this one) for those interested in this function. 8)
Here is the zip for these new/changed features. Just backup/rename phoogle_map.php and includes/phpbb_phoogle_class.php and put these files in their place.
http://bassface3d.com/phoogle/phoogle103_changed.zip
Changes:
On main map page, clicking sidebar no longer refreshes/reloads page, map just moves to user and opens their info window. The single user map (now only accessible from button in users' View Profile page and button under user's posts) behaves as before, loading a new map centered and zoomed on user selected.
Also added Google's recently released Mousewheel Zoom In/Out feature.
IMPORTANT NOTE ABOUT MOUSEWHEEL ZOOM:
This mousewheel Zoom feature may scroll a page up and down at the same time as zooming in/out on the map in a long page (one with a vertical scroll bar), depending on how your browser is set up to scroll.
To disable the mousewheel zoom:
open includes/phpbb_phoogle_class.php
find
Code: Select all
map.enableScrollWheelZoom();";
Code: Select all
";