hi, trying to use&nbsp; setLayerQueryable from latest CVS, i get javascript errors.<br>
i notice in kaMap.js on line: 1691,&nbsp; bVisible should be bQueryable.<br>
<br>
-brent<br>
<br>
<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;">
Brent,<br><br>thanks for picking this up.&nbsp;&nbsp;I could have sworn that was working when<br>I committed it, now it isn't.&nbsp;&nbsp;Well, actually it is, but I just fixed<br>it and committed the change to cvs.&nbsp;&nbsp;Please give it a try :)<br>
<br>Cheers<br><br>Paul<br><br>On 27-Sep-05, at 5:18 PM, Brent Pedersen wrote:<br><br>&gt; hi paul, thanks for all the great work.<br>&gt; i get some errors with the new cvs version:<br>&gt;<br>&gt; 1. in my javascript console:&nbsp;&nbsp;kaTool_onmouseout is not defined
<br>&gt; (kaTool.js line 227)<br>&gt;<br>&gt; 2. also in js console 'myKaQuery.activate is not a function'<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; and the query tool doesn't work. i can fix that by changing to<br>&gt; myKaMap.activateTool(myKaQuery)
<br>&gt;<br>&gt; this happens with the index.html that you distribute.<br>&gt; i couldn't see how to fix them. any ideas?<br>&gt; -brent<br>&gt;<br>&gt; On 9/27/05, Paul Spencer &lt;<a href="mailto:pspencer@dmsolutions.ca">
pspencer@dmsolutions.ca</a>&gt; wrote: All,<br>&gt;<br>&gt; once again, I've made some fairly substantial changes in code<br>&gt; structure to accommodate some of the work I am doing.&nbsp;&nbsp;This time, I<br>&gt; have changed how objects are declared in the javascript source.
<br>&gt;<br>&gt; Originally, I had code that declared objects and used<br>&gt; var kaMap()<br>&gt; {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.aFunction = kaMap_aFunction;<br>&gt; }<br>&gt;<br>&gt; function kaMap_aFunction()<br>&gt; {<br>&gt; }<br>
&gt;<br>&gt; As Ben Nolan pointed out, this pollutes the global namespace in<br>&gt; javascript.&nbsp;&nbsp;Rather than take the full plunge into using prototype.js<br>&gt; (), I've changed the references to:<br>&gt;<br>&gt; var kaMap()
<br>&gt; {<br>&gt; }<br>&gt;<br>&gt; kaMap.prototype.aFunction = function()<br>&gt; {<br>&gt; }<br>&gt;<br>&gt; I have also moved some of the core DHTMLapi functions into the kaMap<br>&gt; class and modified (hopefully) all of the references to these
<br>&gt; functions appropriately for the internal use of these files.<br>&gt;<br>&gt; I've still left DHTMLapi.js in the index.html file as its functions<br>&gt; are used there to layout the page (and I don't think it is<br>
&gt; appropriate to move all that code into kaMap)<br>&gt;<br>&gt; If anyone has built a kaTool-based tool, you'll need to add a little<br>&gt; loop at the bottom of your constructor to copy the prototype<br>&gt; properties (and you should probably switch to using prototype at this
<br>&gt; time).&nbsp;&nbsp;See kaTool and kaQuery for examples.<br>&gt;<br>&gt; There is no substantial change to functionality, and everything<br>&gt; appears to work.&nbsp;&nbsp;However, it should be considered somewhat unstable<br>&gt; at this point so test heavily and let me know :)
<br>&gt;<br>&gt; Cheers<br>&gt;<br>&gt; Paul<br>&gt;<br>&gt; +-----------------------------------------------------------------+<br>&gt;
|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>&gt; +-----------------------------------------------------------------+<br>&gt;
|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>&gt;
|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>&gt; +-----------------------------------------------------------------+<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________
<br>&gt; ka-Map-users mailing list<br>&gt; <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>&gt; <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users
</a><br>&gt;<br>&gt; _______________________________________________<br>&gt; ka-Map-users mailing list<br>&gt; <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org</a><br>&gt; <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">
http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br>&gt;<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></blockquote></div><br>