Class: SkraaFotoViewport

SkraaFotoViewport()

HTML web component that displays an image using the OpenLayers library. This is the main component of the Skraafoto application. It provides methods, and UI tools for handling interactions with the image.

Constructor

new SkraaFotoViewport()

Source:

Classes

SkraaFotoViewport

Methods

(async) createMap()

Creates an OpenLayers map object and adds interactions, image data, etc. to it
Source:

initializeMap()

Initializes the image map
Source:

syncHandler()

Triggers view sync in all viewports by updating the `view` state.
Source:

toggleSpinner()

Toggles the visibility of the loading spinner.
Source:

updateNonMap()

Updates various items not directly related to the image map
Source: