GEOLYTIX/xyz

JSON user locale

Opened this issue · 1 comments

In order to store a user modified locale the locale must be parsed into JSON.

JSON objects cannot be stored with HTMLElements or functions.

A parser will be required to remove any functions and arrays of functions from the locale.

The parser should remove HTMLElements.

Decorated Openlayers objects must be removed. Any OL object should have a ol_uid which can be used to skip processing these entries.

The userLocal plugin as a crud interface for the locale object should have a target key to control where the locale is stored. The default should be userIDB which is available in the utils.