Class: Storymap

ol.control. Storymap


new Storymap( [options])

A control with scroll-driven navigation to create narrative maps

Parameters:
Name Type Argument Description
options Object <optional>

Control options.

Properties
Name Type Description
className String

class of the control

html Element | string | undefined

The storymap content

target Element | string | undefined

The target element to place the story. If no html is provided the content of the target will be used.

Fires:
  • event:scrollto
  • event:clickimage

Extends

Methods


setChapter(name)

Scroll to a chapter

Parameters:
Name Type Description
name string

Name of the chapter to scroll to