Class: VisibleRangePlugin

PSV.plugins.VisibleRangePlugin

new PSV.plugins.VisibleRangePlugin (psv, options)

Locks visible longitude and/or latitude

Name Type Description
psv PSV.Viewer
options PSV.plugins.VisibleRangePlugin.Options

Extends

Members

id string readonly inherited overrides

Unique identifier of the plugin

Reference to main controller

Methods

destroy () package overrides

init () package overrides

setLatitudeRange (range)

Changes the latitude range

Name Type Description
range Array.<double> | Array.<string>

latitude range as two angles

setLongitudeRange (range)

Changes the longitude range

Name Type Description
range Array.<double> | Array.<string>

longitude range as two angles

setRangesFromPanoData ()

Changes the latitude and longitude ranges according the current panorama cropping data

Type Definitions

PSV.plugins.VisibleRangePlugin.Options Object

Properties:
Name Type Argument Default Description
latitudeRange Array.<double> | Array.<string> <optional>

latitude range as two angles

longitudeRange Array.<double> | Array.<string> <optional>

longitude range as two angles

usePanoData boolean <optional>
false

use panoData as visible range, you can also manually call setRangesFromPanoData