code: function (record, index) {
  		var code = this.options.codeField ? L.Util.getFieldValue(record, this.options.codeField) : index;
  		var geoJSON;
  		var centroid;
  		var codeLookup = L.codeLookup || {};
  		var alpha2Lookup = L.alpha2Lookup || {};
  		var fips2Lookup = L.fips2Lookup || {};
  		var countries = L.countries || {};
  		var countryCentroids = L.countryCentroids || {};
  		var originalCode = code.toUpperCase();
  
  		code = originalCode;
  
  		if (code.length === 2) {
  			code = alpha2Lookup[originalCode] || fips2Lookup[originalCode];
  		}
  		else if (code.length === 3) {
  			code = codeLookup[originalCode] || code;
  		}
  
  		// If there's a code available, then try to get the associated polygon
  		if (code) {
  			geoJSON = countries[code];
  			centroid = countryCentroids[code];
  		}
  		else {
  			console.log('Code not found: ' + originalCode);
  		}
  
  		// Create a new GeoJSON layer from the polygon definition
  		var geoJSONLayer = new L.GeoJSON(geoJSON);
  
  		return {
  			location: geoJSONLayer,
  			text: L.GeometryUtils.getName(geoJSON) || code,
  			center: centroid
  		};
  
  	}
docs: /*
  Each record contains a reference to a country - Lookup by a number of different country code designations