public CountyInfo CountyFromMapAttribute(MapItemAttributeCollection attributes) { if (attributes == null) { return(null); } var countyAttr = attributes["GEOID"]; if (countyAttr != null) { return(CountyInfo.GetCounty((countyAttr.Value ?? "").ToString())); } return(null); }
public StateInfo StateFromMapAttribute(MapItemAttributeCollection attributes) { if (attributes == null) { return(null); } var postalAttr = attributes["STUSPS"]; if (postalAttr != null) { return(StateInfo.GetState((postalAttr.Value ?? "").ToString())); } return(null); }
CountyInfo CountyFromMapAttribute(MapItemAttributeCollection attributes) { return(colorizer.CountyFromMapAttribute(attributes)); }
StateInfo StateFromMapAttribute(MapItemAttributeCollection attributes) { return(colorizer.StateFromMapAttribute(attributes)); }