|
||||
[Chameleon] Print Widget Output and QueryBart van den Eijnden bartvde@xs4all.nlThu, 15 Jan 2004 21:19:03 +0100
|
Hi Rene, to answer your first question. There is an option popup widgets have for this which you could use in the CWC2 tag of the Print widget (Menubar="false"), but I am not sure if this applies to popup windows emerging from the popup widget, like the preview print does. If this does not work you could hack the code: Look for the window.open function in production.pthml and add menubar=yes to the options argument of the function. For the Query widget to work your layers in the MAP file should have the following: DUMP TRUE STATUS ONE template "blank.html" and for WMS layer not the following METADATA: wms_queriable "0" Hope this helps. Best regards, Bart On Thu, 15 Jan 2004 15:34:00 -0400, Rene Teniere <TENIERER@gov.ns.ca> wrote: > Hey, > > Is there a way to have the file menu show up in the browser that pops > up when you print the map? I would like the user to be able to goto > FILE->Page Setup... to adjust the print output and layout easily. Also, > and I've noticed this on other chameleon sites, the legend in the print > output keeps repeating the same group name/layer name (goto: > http://meadow.spatialfocus.com/cwc2/htdocs/nlr.phtml to see what I > mean and print a test copy. Make sure scalebar is not checked, or else > it won't work). > > Also, is there something special for the Query Widget to work? I have > it set up in the mapfile as well, however, it will not pick up any > features. > > <td> > <cwc2 type="Query" visible="true" > image="c:/chameleon11a/websites/test/images/button_query_1.png" > imagehover="c:/chameleon11a/websites/test/images/button_query_2.png" > imageselected="c:/chameleon11a/websites/test/images/button_query_3.png" > imagetip="Query Features" imagewidth="24" imageheight="24" > popupwidth="490" popupheight="450" radius="1000" maxfeatures="5"/></td> > > QUERYMAP > STATUS ON > SIZE -1 -1 > COLOR 255 255 0 > STYLE HILITE > END > > These are just a few nagging things to take care of for my chameleon > template before I can move on. > > Rene J.R. Teniere - BSc., D.GIS > GIS Technician > Nova Scotia Department of Natural Resources > Forestry Division (GIS) - Truro > > Phone: (902) 893-5655 > Mobile: (902) 209-8956 > _______________________________________________ > Chameleon mailing list > Chameleon@lists.maptools.org > http://lists.maptools.org/mailman/listinfo/chameleon > --
This archive was generated by Pipermail. |
MapTools.org -- Hosted by DM Solutions Group |