import { defineComponent, getCurrentInstance, createCommentVNode } from 'vue';
import '../../../composables/index.mjs';
import { kebabCase } from '../../../utils/util.mjs';
import { positions, width, colors, arcType, granularity, vertexFormat, ellipsoid } from '../../../utils/cesium-props.mjs';
import useGeometries from '../../../composables/use-geometries/index.mjs';

var GeometryPolyline = defineComponent({
  name: "VcGeometryPolyline",
  props: {
    ...positions,
    ...width,
    ...colors,
    colorsPerVertex: {
      type: Boolean,
      default: false
    },
    ...arcType,
    ...granularity,
    ...vertexFormat,
    ...ellipsoid
  },
  emits: ["beforeLoad", "ready", "destroyed"],
  setup(props, ctx) {
    const instance = getCurrentInstance();
    instance.cesiumClass = "PolylineGeometry";
    useGeometries(props, ctx, instance);
    return () => {
      var _a;
      return createCommentVNode(kebabCase(((_a = instance.proxy) == null ? void 0 : _a.$options.name) || "v-if"));
    };
  }
});

export { GeometryPolyline as default };
//# sourceMappingURL=index.mjs.map
