Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread Rossko
> this cast works: if (parseFloat(pt.lng()) + tooltipWidthInDeg > > bounds.getNorthEast().lng() && permitLeft) You ought to tell the author of pdmarker, if he's still maintaining it. > any idea for the other problem? Which one? Taking over 5 minutes to render on FF2 is I'm sure just something

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread mischl
the expression is correct, tested with brackets and it is the same. with firebug i was able to find the problem: pt.lng() returns a string instead a float somehow! this cast works: if (parseFloat(pt.lng()) + tooltipWidthInDeg > bounds.getNorthEast().lng() && permitLeft) any idea for the other p

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread Rossko
I'm a bit suspicious of this line in setTTPosition() in pdmarker.js if (pt.lng() + tooltipWidthInDeg > bounds.getNorthEast().lng() && permitLeft) I don't know enough javascript to say if that will always evaluate the same as if ( (pt.lng() + tooltipWidthInDeg > bounds.getNorthEast().lng

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread mischl
it ever worked in ff2 at my machine until i updated to ff3 a month ago changed the width to 800px as mentioned now, but the problem is still there. beside, in an earlier version where pdmarker worked correct, the width was also on 100% hope we can find it anyway! On 8 Apr., 13:53, Rossko w

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread Rossko
> it loads in about 4 seconds in ff3 and about 8-9 sec in ie7 at my > machine. There's definitely something wrong with it in FF2, seems to be in the createmarker function but I can't work it out. > where exactly to you think i have to define the width? To see if it is the tooltip problem, tempo

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread mischl
hello rossko thanks for the answers. it loads in about 4 seconds in ff3 and about 8-9 sec in ie7 at my machine. where exactly to you think i have to define the width? cheers On 8 Apr., 13:08, Rossko wrote: > > > link:http://www.rivermap.ch/test/map.html?lat=47.471735&lng=9.057541&zoom=... >

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread Rossko
> > link:http://www.rivermap.ch/test/map.html?lat=47.471735&lng=9.057541&zoom=... > > That comprehensively crashes my FF2 browser, it just hangs having > rendered the map controls. I'll withdraw that - it's just really, really slow - 6 minutes to render, much much slower even than IE6 on the same

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread Rossko
> link:http://www.rivermap.ch/test/map.html?lat=47.471735&lng=9.057541&zoom=... That comprehensively crashes my FF2 browser, it just hangs having rendered the map controls. I don't know why. I think for the pdmarker left/right tooltip to work, you have to explicitly define a map container width.

Re: debugging GPolyline and PDmarker problem

2009-04-08 Thread mischl
absolutely no idea out there??? will offer 20$ for solving one of the two problems! thanks On 13 Mrz., 16:53, mischl wrote: > hello all > > two small, but significant problems where i have problems to figure > the reason for. especially the way to find it - the debugging - isn't > as clear a

debugging GPolyline and PDmarker problem

2009-03-13 Thread mischl
hello all two small, but significant problems where i have problems to figure the reason for. especially the way to find it - the debugging - isn't as clear as necessary. - the tooltip of the pdmarker appears ever on the right side instead on the left if not enough space on the rigth. in earlier