GeoLeaf Core API - v3.0.0
    Preparing search index...

    Options for zoom validation, on top of ValidatorOptions.

    interface ValidateZoomOptions {
        throwOnError?: boolean;
        min?: number;
        max?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    throwOnError?: boolean

    Throw a ValidationError instead of returning { valid: false }. Defaults to false, which is what makes the validators usable in a boolean expression.

    min?: number

    Lowest accepted zoom, inclusive.

    max?: number

    Highest accepted zoom, inclusive.