code: function (location, options, record) {
  		var marker;
  
  		if (location) {
  			if (options.numberOfSides >= 30 && !(options.innerRadius || (options.innerRadiusX && options.innerRadiusY))) {
  				marker = new L.CircleMarker(location, options);
  			}
  			else {
  				marker = new L.RegularPolygonMarker(location, options);
  			}
  		}
  
  		return marker;
  	}
docs: Can be overridden by specifying a getMarker option