//Remove a reference layer
return {
    command: "remove-reference-layer",
    layerid: "<theid>"
};