[ka-Map-users] Problem with custom query tool

Brent Pedersen 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
> somewhere.
>
> 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
> doesn't):
> http://dev.naiutah.com/KaMap/cvs_version/htdocs/
>
> 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
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20051115/444ca752/attachment.html


More information about the ka-Map-users mailing list