did you register redrawZoomBox() for event KAMAP_SCALE_CHANGED? the only time i see it disapper is after zooming. <br><br><div><span class="gmail_quote">On 11/15/05, <b class="gmail_sendername">Clark Endrizzi</b> <<a href="mailto:cendrizzi@gmail.com">
cendrizzi@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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. <br><br>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):
<br><a href="http://dev.naiutah.com/KaMap/cvs_version/htdocs/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://dev.naiutah.com/KaMap/cvs_version/htdocs/</a><br><br>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.
<br><br clear="all"><br>-- <br><span class="sg">-Clark Endrizzi<br>
</span><br>_______________________________________________<br>ka-Map-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org
</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.maptools.org/mailman/listinfo/ka-map-users" target="_blank">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br><br><br><br clear="all">
</blockquote></div><br>