undefined

API Docs for: 5.4.2
Show:

BookmarkLink Module

BookmarkLink submodule

Keeps track of the current state of the map and updates the GetLinkPanel's textbook accordingly. On page load, if any parameters are detected in the URL, this module will attempt to recreate the map according to the parameters. Internally, this module subscribes to all events that change the state of the map (e.g. extent-change, layers toggled on/off). It contains a dictionary that map event names to an object that contains the minimum information needed to reconstruct the map for that particular event. For example, if an extent change occurred, this module will add a key "map/extent-change" (or update if the entry already exists) and put an object that contains the minimum information needed to reconstruct the map to that extent (in this case it would be xmin, ymin, xmax, ymax. Spatial reference is not needed since the map always has the same spatial reference).

This module provides the following classes: