vue-cesium
Version:
Vue 3.x components for CesiumJS.
39 lines (34 loc) • 1.25 kB
JavaScript
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
require('../../../composables/index.js');
var cesiumProps = require('../../../utils/cesium-props.js');
var util = require('../../../utils/util.js');
var emits = require('../../../utils/emits.js');
var index = require('../../../composables/use-providers/index.js');
;
const vrTheworldImageryProviderProps = {
url: {
type: [String, Object],
default: "https://www.vr-theworld.com/vr-theworld/tiles1.0.0/73/"
},
...cesiumProps.ellipsoid,
...cesiumProps.credit
};
var TerrainProviderVrTheworld = vue.defineComponent({
name: "VcTerrainProviderVrTheworld",
props: vrTheworldImageryProviderProps,
emits: emits.providerEmits,
setup(props, ctx) {
const instance = vue.getCurrentInstance();
instance.cesiumClass = "VRTheWorldTerrainProvider";
index["default"](props, ctx, instance);
return () => {
var _a;
return vue.createCommentVNode(util.kebabCase(((_a = instance.proxy) == null ? void 0 : _a.$options.name) || ""));
};
}
});
exports["default"] = TerrainProviderVrTheworld;
exports.vrTheworldImageryProviderProps = vrTheworldImageryProviderProps;
//# sourceMappingURL=index.js.map
;