@versatiles/map-state
    Preparing search index...

    Function unknownMapJSONFields

    • The fields of the content of a .mapjson file that this version does not know, by their path, e.g. elements[3].style.shadow; and elements of an unknown type, e.g. elements[4]. They are allowed (e.g. from a newer version, which may add fields), but stateFromMapJSON does not keep them, so the editor warns about them. The options of the background map are those of @versatiles/style, which are not checked here.

      Parameters

      • json: unknown

      Returns string[]