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

    Function changedMapJSONValues

    • The values of the content of a .mapjson file that stateFromMapJSON does not keep as they are, by their path: a value that is not valid and left out, e.g. elements[2].style.color for "red"; one beyond its range, which becomes the nearest valid value, e.g. frame.pitch for 80; and an element or a legend entry that cannot be drawn, e.g. elements[4] for a line with one point. So the editor can tell that the map is not what the file says.

      Not among them: the fields that this version does not know (see unknownMapJSONFields); a value that is the default, which a map does not store; and a value that is only written in another way, e.g. a color in upper case or a coordinate with more decimal places.

      Parameters

      • json: unknown

      Returns string[]