hi paul, thanks for all the great work. <br>
i get some errors with the new cvs version:<br>
<br>
1. in my javascript console:&nbsp; kaTool_onmouseout is not defined (kaTool.js line 227)<br>
&nbsp; <br>
2. also in js console 'myKaQuery.activate is not a function'&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; and the query tool doesn't work. i can fix that by changing to myKaMap.activateTool(myKaQuery)<br>
<br>
this happens with the index.html that you distribute. <br>
i couldn't see how to fix them. any ideas? <br>
-brent<br><br><div><span class="gmail_quote">On 9/27/05, <b class="gmail_sendername">Paul Spencer</b> &lt;<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
All,<br><br>once again, I've made some fairly substantial changes in code<br>structure to accommodate some of the work I am doing.&nbsp;&nbsp;This time, I<br>have changed how objects are declared in the javascript source.<br><br>Originally, I had code that declared objects and used
<br>var kaMap()<br>{<br>&nbsp;&nbsp;&nbsp;&nbsp; this.aFunction = kaMap_aFunction;<br>}<br><br>function kaMap_aFunction()<br>{<br>}<br><br>As Ben Nolan pointed out, this pollutes the global namespace in<br>javascript.&nbsp;&nbsp;Rather than take the full plunge into using 
prototype.js<br>(), I've changed the references to:<br><br>var kaMap()<br>{<br>}<br><br>kaMap.prototype.aFunction = function()<br>{<br>}<br><br>I have also moved some of the core DHTMLapi functions into the kaMap<br>class and modified (hopefully) all of the references to these
<br>functions appropriately for the internal use of these files.<br><br>I've still left DHTMLapi.js in the index.html file as its functions<br>are used there to layout the page (and I don't think it is<br>appropriate to move all that code into kaMap)
<br><br>If anyone has built a kaTool-based tool, you'll need to add a little<br>loop at the bottom of your constructor to copy the prototype<br>properties (and you should probably switch to using prototype at this<br>time).&nbsp;&nbsp;See kaTool and kaQuery for examples.
<br><br>There is no substantial change to functionality, and everything<br>appears to work.&nbsp;&nbsp;However, it should be considered somewhat unstable<br>at this point so test heavily and let me know :)<br><br>Cheers<br><br>Paul
<br><br>+-----------------------------------------------------------------+<br>|Paul
Spencer&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a>&nbsp;&nbsp; |<br>+-----------------------------------------------------------------+<br>|Applications
&amp; Software
Development&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;|<br>|DM
Solutions Group
Inc&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>+-----------------------------------------------------------------+<br><br><br><br><br>_______________________________________________<br>ka-Map-users mailing list
<br><a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>
</blockquote></div><br>