Namespace: OSDPaperjsAnnotation

OSDPaperjsAnnotation

This is a namespace that contains documentation elements belonging to OSDPaperJSAnnotation
Source:

Classes

AnnotationItem
AnnotationItemFactory
AnnotationToolbar
AnnotationToolkit
AnnotationUI
AnnotationUITool
BrushTool
DefaultTool
Ellipse
EllipseTool
FeatureCollectionUI
FeatureUI
FileDialog
LayerUI
Linestring
LinestringTool
MultiLinestring
MultiPolygon
PaperOverlay
Placeholder
Point
PointText
PointTextTool
PointTool
PolygonTool
Raster
RasterTool
Rectangle
RectangleTool
RotationControlOverlay
RotationControlTool
RotationControlWidget
StyleTool
ToolBase
TransformTool
WandTool

Methods

addCSS(url, nameToCheckopt) → {void}

A regular expression pattern to check for in existing CSS links in the document, used to avoid duplicating CSS files. If the pattern is found in the document, the new link is not added. For consistency, the pattern is also checked against the url parameter to make sure it will exist in the document after adding the new link. If the pattern is not found in the url, an error is logged to the console and the file is not added test
Parameters:
Name Type Attributes Description
url string The URL of the CSS file to add.
nameToCheck string <optional>
The name pattern to check in the URL. If provided,
Source:
Returns:
Type
void