跳到主要内容

flywave-draw-controls.pointobject

Home > @flywave/flywave-draw-controls > PointObject

PointObject class

Signature:

export declare class PointObject extends DrawableObject 

Extends: DrawableObject

Constructors

Constructor

Modifiers

Description

(constructor)(mapView, position, isVertex, id)

Constructs a new instance of the PointObject class

Properties

Property

Modifiers

Type

Description

isVertex

boolean

material

readonly

THREE.SpriteMaterial

Methods

Method

Modifiers

Description

createOutlineObject()

protected

createPointTexture(color, isSelected, isVertex, isEditing)

protected

dispose()

fromGeoJSON(mapView, geoJson, id)

static

getCenter()

getEditing()

getHeight()

getVertexSelected(index)

moveTo(newPosition)

setEditing(editing)

setHeight(height)

setVertexSelected(index, selected)

toGeoJSON()

update()

updateHoverState(isHovered)

updateOutline()

protected

updateVertex(index, newVertex)

updateVisuals()

protected