My favorites | Sign in
Project Logo
             
New issue | Search
for
| Advanced search | Search tips
Issue 54: Error occurred by setLatLng method with LabeledMarker in MarkerManager
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2008
Type-Defect
Priority-Medium
Class-LabeledMarker


Sign in to add a comment
 
Reported by yyr446, Aug 06, 2008
I used both  LabeledMarker(Ver1.2) and MarkerManager(Ver 1.1) .
After added LabeledMarker to MarkerManager and refreshed,
I set marker point to another large distance point by setLatLng() method then
「this.div_ is null」error occurred from labeledmaker.js

(Evasion)
Set large number to borderPadding parameter of  MarkerManager options ,
then this error not occurred. But large number of  borderPadding param is
bad perfomance.

Is that a bug ?
Comment 1 by pamela.fox, Aug 26, 2008
Can you provide a link demonstrating this?
Labels: Class-MarkerManager
Comment 2 by yyr446, Aug 28, 2008
This is link to test page.
http://yoneyone.my-sv.net/testmarker.htm
Comment 3 by pamela.fox, Aug 30, 2008
Ah, okay. It's trying to redraw the label when it doesnt exist. Can you try
commenting out the line in LabeledMarker.prototype.setLatLng that says
this.redrawLabel_() and see if it still occurs?
Labels: -Class-MarkerManager Class-LabeledMarker
Comment 4 by yyr446, Sep 01, 2008
Thank you. 
Thank you. 
It was possible to solve it thanks to your advice. 
Comment 5 by pamela.fox, Sep 01, 2008
Great, glad that works. I've pushed the fix in r710.
Status: Fixed
Sign in to add a comment

Hosted by Google Code