FW: [Chameleon] FW: Need help in debugging page

Julien-Samuel Lacroix jlacroix at mapgears.com
Wed Apr 12 21:26:05 EDT 2006

Comment In-Line.

Mariette wrote:
> Greetings,
> 1) The error from the query in IE is a runtime error on line 154, "Object
> expected", In FireFox "Query Selected is not defined" on the same line. The
> actual query functions properly. But I want to get rid of the error (if
> posible). In order to get it use the photography layer, turn it on and
> select the radio button, refresh and query a photo point.

In your myOnLoad function in your template file. Remove the line:
goEventManager.registerForEvent( 'ON_QUERY', 'QuerySelected' );

> 2) For the copyright text I am using:
I copied/pasted in the chameleon.map sample mapfile and it showed up 
when I modified the POINT position to 200 200. Maybe you can try to add 
a UNITS PIXELS in you layer.

> As for the legend issue, I created metadata--> "legend_title" "Flood_01"
> But when I try and call it rather than give me the "Flood_01" It prints off
> the enter line of code.
> "[metadata name=<legend_title>]"

Sorry, try removing the '<' and '>' characters. This will give you:
[metadata name=legend_title]
Note that if a layer does not have this metadata defined, you will get 
the tag printed in your legend instead of a metadata value.

Was there any other issue?

Best regards
Julien-Samuel Lacroix

More information about the Chameleon mailing list