• JMap.Layer.getMetadataSchema

    Returns the metadata schema associated with the current project's layers.

    The layer metadata schema is an array of JLayerMetadataSchemaItem.

    If no project is loaded, returns an empty array.

    Returns JLayerMetadataSchemaItem[]

    Example

    // returns the metadata schema
    JMap.Layer.getMetadataSchema()