Class: SessionMapStorage

SessionMapStorage

The SessionMap storage is an implementation of the Storage interface acting as a synchronization proxy between the underlying map storage and the sessionStorage DOM storage.


new SessionMapStorage(map, session)

Initializes the storage.

Parameters:
Name Type Description
map MapStorage

The map storage to use.

session SessionStorage

The session storage to use.

Members


_map :MapStorage

The map storage, synced with the session storage.

Type:

_session :SessionStorage

The session storage, synced with the map storage.

Type:

Methods


clear()


delete()


get()


has()


init()


keys()


set()


size()