Function stripPmtilesScheme

  • Strip a leading pmtiles:// scheme from an archive URL, if present. MapLibre style sources address PMTiles archives as pmtiles://https://…; the reader (and this contract's describe path) want the bare archive URL.

    Parameters

    • url: string

    Returns string