Create an outline tag.
Unique identifier of the tag.
Geometry defining vertices of tag.
Options defining the visual appearance and behavior of the outline tag.
Event fired when a property related to the visual appearance of the tag has changed.
Event fired when the icon of the outline tag is clicked.
Event fired when the geometry of the tag has changed.
Click observable.
Get domain property.
Value indicating the domain of the tag.
Get editable property.
Value indicating if tag is editable.
Set editable property.
Value indicating if tag is editable.
Get fill color property.
Set fill color property.
Get fill opacity property.
Set fill opacity property.
Get icon property.
Set icon property.
Get icon index property.
Set icon index property.
Get id property.
Get indicate vertices property.
Value indicating if vertices should be indicated when tag is editable.
Set indicate vertices property.
Value indicating if vertices should be indicated when tag is editable.
Get line color property.
Set line color property.
Get line opacity property.
Set line opacity property.
Get line width property.
Set line width property.
Get text property.
Set text property.
Get text color property.
Set text color property.
Unsubscribe from an event by its name.
The name of the event to subscribe to.
The handler to remove.
Subscribe to an event by its name.
The name of the event to subscribe to.
The handler called when the event occurs.
Set options for tag.
Outline tag options
Generated using TypeDoc
OutlineTag
Tag holding properties for visualizing a geometry outline.
var geometry = new Mapillary.TagComponent.RectGeometry([0.3, 0.3, 0.5, 0.4]); var tag = new Mapillary.TagComponent.OutlineTag( "id-1", geometry { editable: true, lineColor: 0xff0000 }); tagComponent.add([tag]);