|
||||
[maplab-users] MapEdit preview problemsPaul Spencer spencer@dmsolutions.caFri, 28 Mar 2003 11:59:18 -0500
|
um. I think this is a problem with the legend template. Is your template value in the LEGEND object pointing to a real legend template file or is it a fake file? If it is a real file, then that file defines the references to images and javascript functions. The mapedit preview uses the legend template defined in the map file if possible. This was to allow for a 'preview' of the legend template but in hindsight this was probably not a good idea since the legend template can define functionality as well. I think that we will remove this so that mapedit always uses it's own legend template to make sure that it works. Cheers, Paul Matt Doggett wrote: > Well, for some mysterious reason, my preview function now appears to > work-in part. It might have something to do with proj.4. I came to the > part of the tutorial dealing with projections and found the archived > message about a newer epsg file that must be installed. So I did that > and now preview works.except: > > 1. This is a deficiency in the MapLab distribution. In the preview > window Legend, there are numerous "little red x's" where images are > supposed to be but the server can't find them. Apache error_log > reported a file not found: > [Thu Mar 27 16:07:12 2003] [error] [client 128.193.65.36] File does not > exist: > /usr/local/apache2/htdocs/maplab/htdocs/mapedit/images/icon_prop_none.gi > f > > So I looked around and discovered the file > .../maplab/htdocs/mapbrowser/images/icon_prop_none.gif. Figuring that > this is the same image, I simply copied icon_prop_none.gif into the > mapedit/images directory and it solved that problem. > > That one was easy. Now the tougher one: > > 2. When I click on one of the radio buttons in the Legend, I get a > Javascript error stating: > "A runtime error has occurred. Do you wish to debug? Line: 100 Error: > Object expected". When I look at debug mode the problem is in the html > code : <input type="radio" ..> corresponding to the radio button I just > clicked. I believe the issue is with the onClick statement: > onClick="javascript:radioSelect( 'bathymetry' )". But that's about as > far as I can go for that one. Any takers on this? > > md. > > ps. I'm using IE6.0 on Win2K to access MapLab on my Linux server. > > (RedHat8.0, Apache2.0, Mapserver 3.6.4, Php4.2.3) > > Matt Doggett > Spatial Climate Analysis Service > Oregon State University > 316 Strand Ag Hall > Corvallis, OR 97331 > (541)737-9153 > mdoggett@coas.oregonstate.edu > > > > _______________________________________________ > Maplab-users mailing list > Maplab-users@dmsolutions.ca > http://lists.dmsolutions.ca/mailman/listinfo/maplab-users > -- Paul Spencer Applications and Software Development DM Solutions Group Inc. http://www.dmsolutions.ca
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |