MapTools.org

[Chameleon] legend for non-WMS sources

J. Delfos delfosj@ses.curtin.edu.au
Sun, 14 Dec 2003 19:31:09 -0800 (PST)
Hi All,

I'm having some difficulties getting the legend in Chameleon to work. It's
probably because I'm getting my data from a mapserver mapfile, in stead of
through WMS. The reason I use a mapfile, is because my data consists of
shapefiles. Can anyone tell me what would be the best way to access
shapefiles from Chameleon? Can it be done through the context, and if so,
will this make the legend work properly? It does pick up the metadata in
the layer manager.... but the legend widget seems to be set up not to
work, unless layers have a WMS source....

Also, the production popup for printing gives me some bugs. I tried
running it on different systems (IIS and apache), and got the same error.
It says "$szfilename" not defined. I managed to get around it by writing
some javascript which creates scaled output for at user-specified scale on
a user-specified pagesize. Most engineers (the sort of people I develop
this for) are after that. 

If anyone could give me some useful advise, I'd appreciate it. I am quite
experienced in (web) programming, but not in PHP....


Thanks,

Jacob

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/


This archive was generated by Pipermail.