Revision 10518
branches/v10/extensions/extWMS/src/com/iver/cit/gvsig/fmap/layers/FLyrWMS.java | ||
---|---|---|
1768 | 1768 |
int[] size = {maxTileDrawWidth, maxTileDrawHeight}; |
1769 | 1769 |
return size; |
1770 | 1770 |
} |
1771 |
|
|
1772 | 1771 |
/* |
1773 | 1772 |
* (non-Javadoc) |
1774 | 1773 |
* @see com.iver.cit.gvsig.fmap.layers.RasterOperations#isTiled() |
... | ... | |
1779 | 1778 |
|
1780 | 1779 |
public Image getImageLegend() { |
1781 | 1780 |
try { |
1782 |
if (wms.hasLegendGraphic() ){ |
|
1781 |
//TODO: |
|
1782 |
//store legend graphic and show it in TOC only when layer visible |
|
1783 |
if (wms.hasLegendGraphic()){ |
|
1783 | 1784 |
wmsStatus.setOnlineResource((String) onlineResources.get("GetLegendGraphic")); |
1784 | 1785 |
File legend = getDriver().getLegendGraphic(wmsStatus, layerQuery, null); |
1785 | 1786 |
Image img = null; |
branches/v10/extensions/extWMS/src/com/iver/cit/gvsig/gui/wizards/WMSWizard.java | ||
---|---|---|
40 | 40 |
*/ |
41 | 41 |
package com.iver.cit.gvsig.gui.wizards; |
42 | 42 |
|
43 |
import java.awt.Color; |
|
44 | 43 |
import java.awt.Component; |
45 | 44 |
import java.awt.Dimension; |
46 | 45 |
import java.awt.FlowLayout; |
... | ... | |
50 | 49 |
import java.util.Hashtable; |
51 | 50 |
import java.util.Vector; |
52 | 51 |
import java.util.prefs.Preferences; |
53 |
|
|
54 |
import javax.swing.BorderFactory; |
|
55 | 52 |
import javax.swing.DefaultComboBoxModel; |
56 | 53 |
import javax.swing.JCheckBox; |
57 | 54 |
import javax.swing.JLabel; |
58 | 55 |
import javax.swing.JOptionPane; |
59 | 56 |
import javax.swing.JPanel; |
60 | 57 |
import javax.swing.tree.TreePath; |
61 |
|
|
62 | 58 |
import org.apache.log4j.Logger; |
63 |
|
|
64 | 59 |
import com.iver.andami.PluginServices; |
65 | 60 |
import com.iver.andami.persistence.serverData.ServerDataPersistence; |
66 | 61 |
import com.iver.cit.gvsig.fmap.drivers.wms.FMapWMSDriver; |
Also available in: Unified diff