Hold all your rectangles in an array and write a separate function to
highlight the desired rectangle.
That function should first deselect all rectangles in the array and
then highlight the selected one.
Pseudo-code:
google.maps.event.addListener(bounding_box, 'mouseover', function()
{highlight(this)});
google.maps.event.addListener(bounding_box, 'mouseout', function()
{highlight()});
function highlight(obj) {
// First loop the array and deselect all
// then highlight the selected one
if (obj) {
obj.setOptions(...)
}
}
--
Marcelo - http://maps.forum.nu
--
On Nov 28, 8:35 am, Geoff Schultz <geoffrey.w.schu...@gmail.com>
wrote:
Then follow the posting guidelines and post a link that demonstrates
the problem.
By the way, why are you using array.pop()?
--
Marcelo - http://maps.forum.nu
--
>