Revision 38443 branches/v2_0_0_prep/libraries/libFMap_mapcontext/src/org/gvsig/fmap/mapcontext/impl/DefaultMapContextManager.java

View differences:

DefaultMapContextManager.java
499 499
				featureType = (((FeatureStore)dataStore).getDefaultFeatureType());
500 500
				int indexGeom = featureType.getDefaultGeometryAttributeIndex();
501 501
				int typeShape = featureType.getAttributeDescriptor(indexGeom).getGeometryType();
502
				legend = MapContextLocator.getMapContextManager().createDefaultVectorLegend(typeShape);
502
				legend = createDefaultVectorLegend(typeShape);
503 503
			} catch (DataException e) {
504 504
				LOG.error("Error getting the default feature type", e);
505 505
			}			

Also available in: Unified diff