Module: ol/interaction/Link

ol/interaction/Link


Classes

Link

Type Definitions

Options{Object}

Properties:
Name Type Argument Default Description
animate boolean | module:ol/View~AnimationOptions <optional>
true

Animate view transitions.

replace boolean <optional>
false

Replace the current URL without creating the new entry in browser history. By default, changes in the map state result in a new entry being added to the browser history.

prefix string <optional>
''

By default, the URL will be updated with search parameters x, y, z, and r. To avoid collisions with existing search parameters that your application uses, you can supply a custom prefix for the ones used by this interaction (e.g. 'ol:').