My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 89: this.div_ is null
1 person starred this issue and may be notified of changes. Back to list
Status:  FixedInRelease
Owner:  pamela.fox
Closed:  Feb 2009
Type-Defect
Class-LabeledMarker
Fixed-1.4


Sign in to add a comment
 
Reported by ga...@web.de, Feb 17, 2009
I use multiple marker groups with visibility toggling like shown in this
example:
http://gmaps-utility-library.googlecode.com/svn/trunk/labeledmarker/release/docs/examples.html

It works well as long as I do not change the zoom level or move the map. If
I zoom into the map a "this.div_ is null" error is reported by my FireFox
browser and the "for"-loop that iterates through all markers in a group is
exited. As a result not all markers change their visibility.
You can reproduce the problem here: http://home.arcor.de/gak-a/gc/indexXML.html
Clicking on the green box in the right top corner should toggle the
visibility of all green box markers. It works well as long as you do not
zoom into the map. Then, only part of the green box markers toggle and a
"this.div_ is null" error happens.

I tried labeledmarker version 1.1, 1.2, and 1.3 and all result in the same
error.

Any ideas? Is it a bug in my implementation, of labeledmarker or of Google
maps?

Thanks in advance for any comments and help!
Comment 1 by ga...@web.de, Feb 27, 2009
Update to my post:

I removed the toogle functionality. Then, my code works well for revisions < 1.3.
However, there is still a "this.div_" error with r1.3.

I uploaded two examples:
v1.2 http://home.arcor.de/gak-a/gc/indexXML12.html
v1.3 http://home.arcor.de/gak-a/gc/indexXML13.html   <-- "this.div_" error when
zooming in/out of the map.

I use FireFox 3.0.6.

Comment 2 by pamela.fox, Feb 27, 2009
Fixed in r933 by moving DIV construction into initialize, where it belongs. Also 
added example to check that this works as expected.
http://gmaps-utility-library-
dev.googlecode.com/svn/trunk/labeledmarker/examples/markerremove.html

Status: FixedInDev
Owner: pamela.fox
Labels: Type-Defect Class-LabeledMarker
Comment 3 by pamela.fox, Jun 23, 2009
Fixed in 1.4 release.
Status: FixedInRelease
Labels: Fixed-1.4
Sign in to add a comment

Hosted by Google Code