Revision 529 2.1/trunk/org.gvsig.view3d/org.gvsig.view3d.swing/org.gvsig.view3d.swing.impl/src/main/java/org/gvsig/view3d/swing/impl/DefaultView3DSwingManager.java
DefaultView3DSwingManager.java | ||
---|---|---|
70 | 70 |
new DefaultMapControl3D(theMapContext, type, viewProperties); |
71 | 71 |
|
72 | 72 |
if(type == TYPE.SPHERE){ |
73 |
viewProperties.setProperty("spehereMapControl3D", mapControl3D);
|
|
73 |
viewProperties.setProperty("sphereMapControl3D", mapControl3D); |
|
74 | 74 |
} else if(type == TYPE.FLAT){ |
75 | 75 |
viewProperties.setProperty("flatMapControl3D", mapControl3D); |
76 | 76 |
} |
... | ... | |
99 | 99 |
List<MapControl3D> mapControls3D = new ArrayList<MapControl3D>(); |
100 | 100 |
|
101 | 101 |
MapControl3D sphereMapControl3D = |
102 |
(MapControl3D) viewProperties.getProperty("spehereMapControl3D");
|
|
102 |
(MapControl3D) viewProperties.getProperty("sphereMapControl3D"); |
|
103 | 103 |
MapControl3D flatMapControl3D = |
104 | 104 |
(MapControl3D) viewProperties.getProperty("flatMapControl3D"); |
105 | 105 |
|
... | ... | |
117 | 117 |
public MapControl3D getMapControl3D(ExtendedPropertiesSupport viewProperties, TYPE type) { |
118 | 118 |
|
119 | 119 |
if(type == TYPE.SPHERE){ |
120 |
return (MapControl3D) viewProperties.getProperty("spehereMapControl3D");
|
|
120 |
return (MapControl3D) viewProperties.getProperty("sphereMapControl3D"); |
|
121 | 121 |
} else if (type == TYPE.FLAT){ |
122 | 122 |
return (MapControl3D) viewProperties.getProperty("flatMapControl3D"); |
123 | 123 |
} |
Also available in: Unified diff