This is the main namespace of the Oblique module, that contains the
bu.oblique.Viewer
class.
This viewer shows oblique imagery. This is a special type of imagery that is
captured with a some pitch angle in the plane so it is not possible to seam
images without introducing distorsions. The viewer for that reason shows one
image at a time, jumping from one image to another as the user reaches the edge.
- Source:
- bu-oblique/bu.oblique.jsdoc
Classes
Namespaces
Type Definitions
-
BaseLayer
-
Name of WMTS baselayers. This names match WMTS GetCapabilities names and must not change or some actions will not work properly. The layer with oblique images is expected to have somoe properties that seamless oblique layers do not have.
NORTH: 'BlomURBEX:NORTH' SOUTH: 'BlomURBEX:SOUTH' EAST: 'BlomURBEX:EAST' WEST: 'BlomURBEX:WEST'
Type:
- string
- Source:
- bu-oblique/enums.js
-
ImageEventType
-
Type of events for a
bu.oblique.Image
.GRIDLOADED: 'gridloaded' // Triggered when a image loads its transformation grid.
Type:
- string
- Source:
- bu-oblique/enums.js
-
ImagesManagerEventType
-
Type of events for a
bu.oblique.ImagesManager
.IMAGEADDED: 'imageadded' // Triggered when a new Image is loaded
Type:
- string
- Source:
- bu-oblique/enums.js
-
LayerFilterFunctionType
-
Type of function to apply for filter information of a layer.
ALLLAYERS: 'alllayers' // The function will include all layers. ALLVECTOR: 'allvector' // The function will include all vector layers. ALLVECTOREXCEPTPANORAMAS: 'allvectorexceptpanoramas' // The function will // include all vector layers except the Panoramas layer ALLVECTOREXCEPTPANORAMASPOINTSLINES: 'allvectorexceptpanoramaspointslines' // The // function will include all vector layers, but for a Panoramas layer // it will include only
Type:
- string
- Source:
- bu-oblique/enums.js
-
MeasurementType
-
Type of the oblique measurement (point, length, ground elevation, ground length, area, height, vertical area, bearing, diagonal length) for oblique viewers.
POINT: 'point' LENGTH: 'length' GROUND_LENGTH: 'groundlength' ELEVATION: 'elevation' AREA: 'area' HEIGHT: 'height' VERTICAL_AREA: 'verticalarea' BEARING: 'bearing' DIAGONAL_LENGTH: 'diagonallength'
Type:
- string
- Source:
- bu-oblique/enums.js
-
Orientation
-
Orientation of the oblique image.
NORTH: 'N' SOUTH: 'S' EAST: 'E' WEST: 'W'
Type:
- string
- Source:
- bu-oblique/enums.js
-
TransformType
-
Type of transformation in oblique.
TOOBLIQUE: 'toOblique' TOWORLD: 'toWorld'
Type:
- string
- Source:
- bu-oblique/enums.js
-
ViewerEventType
-
Type of events for a
bu.oblique.Viewer
.IMAGEIDCHANGED: 'change:imageid' CENTERCHANGED: 'change:center' RESOLUTIONCHANGED: 'change:resolution' ROTATIONCHANGED: 'change:rotation' LAYERCHANGED: 'change:layer' LAYERGROUPCHANGED: 'change:layergroup' PANORAMACLICKED: 'panoramaclicked' IMAGEOPENED: 'imageopened' //When a oblique image finishes the opening
Type:
- string
- Source:
- bu-oblique/enums.js
-
ViewerOptions
-
Options for
bu.oblique.Viewer
.Type:
- Object
- Source:
- bu-oblique/typedefs.js
Properties:
Name Type Description target
Element | string | undefined The DOM target element where this viewer will be appended.
imageid
string | undefined Image ID to open on start.
center
bu.Coordinate | undefined Center to use on start. If both a center and an iamgeid are provided, then the center will be used.
resolution
number | undefined Resolution on start.
rotation
number | undefined Rotation on start.
layers
Array.<Object> | undefined List of layers on start.
usePanoramas
boolean | undefined If use a panoramas vector layer to show clickable position of panoramas.
extraZoomLevels
boolean | undefined Number of extra zoom levels.
-
ViewerProperty
-
Properties of a
bu.oblique.Viewer
.IMAGEID: 'imageid' CENTER: 'center' RESOLUTION: 'resolution' ROTATION: 'rotation' LAYER: 'layer' LAYERGROUP: 'layergroup' CONTROLS: 'controls'
Type:
- string
- Source:
- bu-oblique/enums.js