Revision 26562 tmp/trunk/cliente/WorkSpace_WPSClient/extWPSCallejero/src/es/logex/gvsig/fmap/layers/FLyrWPSFactory.java
FLyrWPSFactory.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
/** |
29 | 29 |
* |
30 |
* @param defaultLegendPath |
|
30 | 31 |
* @param layer |
31 | 32 |
* @param host |
32 | 33 |
* @param onlineResource |
... | ... | |
38 | 39 |
* @return |
39 | 40 |
*/ |
40 | 41 |
public FLyrWPS getFLyrWPS(SMLayerInfo smlInfo, |
41 |
boolean loadLayer, |
|
42 |
String defaultLegendPath, boolean loadLayer,
|
|
42 | 43 |
boolean firstLoad){ |
43 | 44 |
|
44 | 45 |
FMapWPSDriver driver = null; |
... | ... | |
56 | 57 |
} |
57 | 58 |
|
58 | 59 |
FLyrWPS wpsLayer = new FLyrWPS(smlInfo); |
60 |
wpsLayer.setDefaultLegendPath(defaultLegendPath); |
|
59 | 61 |
wpsLayer.setWpsDriver(driver); |
60 | 62 |
wpsLayer.setName(smlInfo.getName()); |
61 | 63 |
|
... | ... | |
84 | 86 |
PluginServices.getText(this,"wps_srs_unknown")); |
85 | 87 |
} |
86 | 88 |
//Le pedimos que pida la capa con las coordenadas de la proyecctión actual de la vista. |
87 |
wpsLayer.load(smlInfo.getNewExtent(), activeView.getProjection()); |
|
89 |
wpsLayer.load(smlInfo.getNewExtent(), activeView.getProjection(), "0");
|
|
88 | 90 |
|
89 | 91 |
} catch (Exception e) { |
90 | 92 |
// TODO Auto-generated catch block |
Also available in: Unified diff