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