Search in sources :

Example 1 with PointPrimitive

use of org.cesiumjs.cs.scene.PointPrimitive in project gwt-cs by iSergio.

the class MarkerGroup method createPoint.

public static PointPrimitive createPoint(DrawInteractionOptions options) {
    PointPrimitive pointPrimitive = new PointPrimitive();
    pointPrimitive.color = options.color;
    pointPrimitive.pixelSize = options.pixelSize;
    pointPrimitive.outlineColor = options.outlineColor;
    pointPrimitive.outlineWidth = options.outlineWidth;
    return pointPrimitive;
}
Also used : PointPrimitive(org.cesiumjs.cs.scene.PointPrimitive)

Example 2 with PointPrimitive

use of org.cesiumjs.cs.scene.PointPrimitive in project gwt-cs by iSergio.

the class MarkerGroup method createPoint.

public PointPrimitive createPoint(Cartesian3 position) {
    PointPrimitive pointPrimitive = createPoint(options);
    pointPrimitive.position = position;
    return pointPrimitive;
}
Also used : PointPrimitive(org.cesiumjs.cs.scene.PointPrimitive)

Aggregations

PointPrimitive (org.cesiumjs.cs.scene.PointPrimitive)2