[ka-Map-users] Problem with custom query tool
bpederse at gmail.com
Tue Nov 15 11:35:24 EST 2005
did you register redrawZoomBox() for event KAMAP_SCALE_CHANGED? the only
time i see it disapper is after zooming.
On 11/15/05, Clark Endrizzi <cendrizzi at gmail.com> wrote:
> I rewrote the query tool so that the box that is drawn stays. It works for
> all of my purposes but has one problem, randomly, the box will dissapear and
> I have no idea why. I have gone through my code to see if there is any
> reason why and I cannot see one (nothing is being called to make it
> dissapear on my tool stuff) so I think it must be coming from KaMap
> I'm starting with the same settings as KaMap, which uses the
> this.kaMap.theInsideLayer.appendChild function to attach it. Anyway, you
> can reference it here to see it in action (sometimes it works, sometimes it
> Again, I wouldn't bring this up if I didn't believe that KaMap was somehow
> making it dissapear. I'm also attaching the code for the tool (can you have
> attachments for mailing lists?). Having the box stay is key for this to work
> for me so if anyone has any pointers or help it would REALLY be appreciated.
> -Clark Endrizzi
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ka-Map-users