OpenLayers Object Notation

save state | restore state | clear saved state

serialize map | clear features

This example show how a map can be serialized using OpenLayers Object Notation. The serialized map can be saved somewhere, and deserialized to restore the state of a map.

Navigate to some location, turn layers on/off, click save state. Close this page and reopen it (or just refresh) to see the state restored.