Optional anchor?: GeoCoordLike | Vector3LikeThe anchor of this Object3D in @xyzmaps/harp-geoutils#GeoCoordinates or world coordinates.
Optional category?: stringThe category of this style.
This property is used together with [[Theme.priorities]] to compute the render order of this map object.
Optional geoThe position of this [[MapAnchor]] in @xyzmaps/harp-geoutils#GeoCoordinates.
Use [[anchor]] instead.
Optional overlay?: booleanWhether to draw the anchor on top of labels.
false
Optional pickable?: booleanFlag defining if the object may be picked.
By default all objects are pickable even if this flag is undefined.
Optional styleThe styleSet that owns this map object.
This property is used together with [[Theme.priorities]] to compute the render order of this map object.
Example:
const mesh: MapAnchor<THREE.Mesh> = new THREE.Mesh(geometry, material);
mesh.anchor = new GeoCoordinates(latitude, longitude, altitude);
mapView.mapAnchors.add(mesh);
Generated using TypeDoc
An interface describing [[THREE.Object3D]]s anchored on given @xyzmaps/harp-geoutils#GeoCoordinates.