File tree Expand file tree Collapse file tree 4 files changed +4
-28
lines changed
components/Viewer/Options Expand file tree Collapse file tree 4 files changed +4
-28
lines changed Original file line number Diff line number Diff line change 1010<script setup>
1111 import back_schemas from " @geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
1212
13- const dataBaseStore = useDataBaseStore ()
14-
1513 const props = defineProps ({
1614 id: { type: String , required: true },
1715 })
2119 const polygon_attribute_names = ref ([])
2220 const polygon_attribute = reactive ({ name: polygon_attribute_name .value })
2321
24- const meta_data = computed (() => {
25- return dataBaseStore .itemMetaDatas (props .id )
26- })
27-
2822 onMounted (() => {
2923 if (model .value != null ) {
3024 polygon_attribute_name .value = model .value .name
4539 {
4640 schema: back_schemas .opengeodeweb_back .polygon_attribute_names ,
4741 params: {
48- input_geode_object: meta_data .value .geode_object ,
49- filename: meta_data .value .native_filename ,
42+ id: props .id ,
5043 },
5144 },
5245 {
Original file line number Diff line number Diff line change 3232 id: { type: String , required: true },
3333 })
3434
35- const dataBaseStore = useDataBaseStore ()
36-
3735 const polyhedron_attribute_names = ref ([])
38- const meta_data = computed (() => {
39- return dataBaseStore .itemMetaDatas (props .id )
40- })
4136
4237 onMounted (() => {
4338 getVertexAttributes ()
4843 {
4944 schema: back_schemas .opengeodeweb_back .polyhedron_attribute_names ,
5045 params: {
51- input_geode_object: meta_data .value .geode_object ,
52- filename: meta_data .value .native_filename ,
46+ id: props .id ,
5347 },
5448 },
5549 {
Original file line number Diff line number Diff line change 3838<script setup>
3939 import back_schemas from " @geode/opengeodeweb-back/opengeodeweb_back_schemas.json"
4040
41- const dataBaseStore = useDataBaseStore ()
42-
4341 const emit = defineEmits ([" update_value" ])
4442
4543 const props = defineProps ({
5654
5755 const texture_coordinates = ref ([])
5856
59- const meta_data = computed (() => {
60- return dataBaseStore .itemMetaDatas (props .id )
61- })
62-
6357 onMounted (() => {
6458 getTextureCoordinates ()
6559 })
6963 {
7064 schema: back_schemas .opengeodeweb_back .texture_coordinates ,
7165 params: {
72- input_geode_object: meta_data .value .geode_object ,
73- filename: meta_data .value .native_filename ,
66+ id: props .id ,
7467 },
7568 },
7669 {
Original file line number Diff line number Diff line change 3333 const dataBaseStore = useDataBaseStore ()
3434
3535 const vertex_attribute_names = ref ([])
36- const meta_data = computed (() => {
37- return dataBaseStore .itemMetaDatas (props .id )
38- })
3936
4037 onMounted (() => {
4138 getVertexAttributes ()
4643 {
4744 schema: back_schemas .opengeodeweb_back .vertex_attribute_names ,
4845 params: {
49- input_geode_object: meta_data .value .geode_object ,
50- filename: meta_data .value .native_filename ,
46+ id: props .id ,
5147 },
5248 },
5349 {
You can’t perform that action at this time.
0 commit comments