mMarker = new HashMap<String, DrawMarkerElement>();
}
mMarker.put(marker.getDrawNameAttribute(), marker);
} else if (node instanceof DrawGradientElement) {
DrawGradientElement gradient = (DrawGradientElement) node;
if (mGradients == null) {
mGradients = new HashMap<String, DrawGradientElement>();
}
mGradients.put(gradient.getDrawNameAttribute(), gradient);
} else if (node instanceof DrawHatchElement) {
DrawHatchElement hatch = (DrawHatchElement) node;
if (mHatches == null) {
mHatches = new HashMap<String, DrawHatchElement>();
}