def create_delete_marker_msg(id):
    """ Creates a delete marker message.

        Marker with the given id will be delete, -1 deletes all markers

        Args:
            id (int): Identifier of the marker

        Returns:
            dict: JSON message to be emitted as socketio event
    """
    return {'id': id}