Revision 33374
trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/layers/FLayers.java | ||
---|---|---|
1274 | 1274 |
layer = LayerFactory.createLayer(name, (VectorialFileDriver) d, |
1275 | 1275 |
new File(pathGenerator.getAbsolutePath((String)xml.getStringProperty("file"))), |
1276 | 1276 |
proj); |
1277 |
}else{ |
|
1277 |
}else if (xml.contains("absolutePath")){
|
|
1278 | 1278 |
layer = LayerFactory.createLayer(name, (VectorialFileDriver) d, |
1279 | 1279 |
new File(xml.getStringProperty("absolutePath")), |
1280 | 1280 |
proj); |
1281 |
}else{ |
|
1282 |
layer = LayerFactory.createLayer(name, (VectorialFileDriver) d, |
|
1283 |
new File(xml.getStringProperty("file")), |
|
1284 |
proj); |
|
1281 | 1285 |
} |
1282 | 1286 |
|
1283 | 1287 |
|
Also available in: Unified diff