Hi Ede, thanks for your help. Let us wait Jukka opinion/test to check the new reuse of WMSRequest with protected WMS servers. I implemented the dialog as a detachable internal frame, as you suggested. It looks also more elegant. I preferred the option to have it always on the top of the main view as I think that a legend should be always visible, it can be minimized by users anyhow. Regarding that dialogs accumulate and you suggestion to update/reuse existing legends per layer, I still didn't find a solution and I ask you a little help. best regards Peppe
2015-06-05 12:49 GMT+02:00 <edgar.sol...@web.de>: > hey Peppe, > > while playing around with the plugin i stumbled over two issues > > 1. the plugin was enabled even if multiple wms layers were selected. this > is fixed now in trunk. > 2. the dialogs accumulate. every time a new one gets created. you should > update/reuse existing legends per layer. > > additionally i suggest you implement the dialogs as detachable internal > frames. this way they will be listed in the 'Windows' main menu and the > user can decide where to place them. > > nice addition ..ede > > On 04.06.2015 15:24, Giuseppe Aruta wrote: > > Dear Jumpers, > > I added on OpenJUMP a new plugin that displays WMS layer(s) legend (if > available) on a Dialog. > > This plugin is located on WMS Layer tree context menu, as "Show WMS > Layer Legend". > > The code originally came from Kosmo SAIG and it was completely rewritten > in order to adapt WMS GetLegendGraphic and GetStyle operators without > modifing OJ WMS classes. > > > > Best Regards > > > > Peppe > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > Jump-pilot-devel mailing list > > Jump-pilot-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Jump-pilot-devel mailing list > Jump-pilot-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel >
------------------------------------------------------------------------------
_______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel