• Parameters

    • map: Map
    • layerName: string

    Returns undefined | BaseLayer

    a layer in the map that match the given name (property name).