code: function (record, index) {
  		var getLocation = function (latitudeField, longitudeField) {
  			var latitude = L.Util.getFieldValue(record, latitudeField);
  			var longitude = L.Util.getFieldValue(record, longitudeField);
  			var location = null;
  
  			if (latitude && longitude) {
  				var latlng = new L.LatLng(latitude, longitude);
  				location = {
  					location: latlng,
  					text: [latlng.lat.toFixed(3),latlng.lng.toFixed(3)].join(', '),
  					center: latlng
  				};
  			}
  
  			return location;
  		};
  
  		var location = getLocation(this.options.latitudeField, this.options.longitudeField);
  
  		if (!location && this.options.fallbackLocationFields) {
  			var fallbackIndex = 0;
  			var fallbackLocationFields;
  			while (!location && fallbackIndex < this.options.fallbackLocationFields.length) {
  				fallbackLocationFields = this.options.fallbackLocationFields[fallbackIndex];
  				location = getLocation(fallbackLocationFields.latitudeField, fallbackLocationFields.longitudeField);
  				fallbackIndex++;
  			}
  		}
  
  		return location;
  	}
docs: /*
  Each record contains latitude and longitude fields