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

Mariette mariette.hachey at geonet-tech.com
Thu Apr 13 09:00:42 EDT 2006


Greetings,
All issues have been resolved. 
The copyright text required the UNITS to function properly, the error is now
gone and the metadata is working like a charm. And that was all the errors
on my site.
Thank You for the help.
Mariette

-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Julien-Samuel
Lacroix
Sent: Wednesday, April 12, 2006 10:26 PM
To: Mariette
Cc: chameleon at lists.maptools.org
Subject: Re: FW: [Chameleon] FW: Need help in debugging page

Hi,
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:
[snip]
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
-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/
_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon




More information about the Chameleon mailing list