Revision 25581 trunk/libraries/lib3DMap/src/org/gvsig/gvsig3d/map3d/MapContext3D.java
MapContext3D.java | ||
---|---|---|
886 | 886 |
|
887 | 887 |
} |
888 | 888 |
|
889 |
@Override |
|
890 |
public XMLEntity getXMLEntity() throws XMLException { |
|
891 |
// TODO Auto-generated method stub |
|
892 |
XMLEntity xml = super.getXMLEntity(); |
|
893 |
|
|
894 |
SingleLayerIterator lyrIterator = new SingleLayerIterator(layers); |
|
895 |
while (lyrIterator.hasNext()) { |
|
896 |
FLayer lyr = lyrIterator.next(); |
|
897 |
Layer3DProps props3D = getLayer3DProps(lyr); |
|
898 |
int type = props3D.getType(); |
|
899 |
if (type == Layer3DProps.layer3DOSG){ |
|
900 |
|
|
901 |
OSGCacheService cacheService = (OSGCacheService) props3D |
|
902 |
.getCacheService(); |
|
903 |
if (cacheService != null) { |
|
904 |
// use VectorCacheService to add features to planet |
|
905 |
if (props3D.isEditing()){ |
|
906 |
// TODO: PONER AKI EL CODIGO DE SALVAR |
|
907 |
} |
|
908 |
} |
|
909 |
} |
|
910 |
} |
|
911 |
|
|
912 |
|
|
913 |
return xml; |
|
914 |
|
|
915 |
} |
|
916 |
|
|
889 | 917 |
private void refreshLayerOrder() { |
890 | 918 |
int typeOrder[] = new int[4]; |
891 | 919 |
typeOrder[Layer3DProps.layer3DImage] = 0; |
Also available in: Unified diff