google-code-export / geoxml

Automatically exported from code.google.com/p/geoxml
1 stars 1 forks source link

Mouseover of lines in map does not work #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This issue is probably related to issue #42:

When hovering over a line in the map, only the first time the hover works 
(highlighting the line and sidebar element). After the first line is hovered, 
hovering stops working for all lines.

You can see it happening on this test map:

http://www.joli-ecotours.com/maptestforgeoxml.htm

I have seen it working correctly on older versions, like the examples on your 
website. Same for issue #42.

Original issue reported on code.google.com by remco@remcokalf.nl on 7 Jul 2010 at 5:19

GoogleCodeExporter commented 9 years ago
This only happens when quiet=true is set.
Then, on hover of line elements, there is a js error "this.mb = null"

Original comment by remco@remcokalf.nl on 14 Jul 2010 at 2:36

GoogleCodeExporter commented 9 years ago
I found the error. 

The 'quiet' statement should also be added to the function 
MessageBox.prototype.hideMess.

Like this:

MessageBox.prototype.hideMess = function(){
    if(this.paren.quiet){
        return;
        }

On mouseout this function is triggered, and produces an error when the variable 
mb is not set.

Original comment by remco@remcokalf.nl on 14 Jul 2010 at 2:52

GoogleCodeExporter commented 9 years ago
thanks awesome... I have been so busy.. but nice to have a touch of help on 
this.

Original comment by lanceala...@gmail.com on 14 Jul 2010 at 3:15

GoogleCodeExporter commented 9 years ago
You're welcome :-)

Original comment by jolina...@gmail.com on 14 Jul 2010 at 3:17

GoogleCodeExporter commented 9 years ago

Original comment by lanceala...@gmail.com on 4 Aug 2010 at 5:57