| | |
| | | import vectorMap from '/@/assets/images/business/map/vector_map.png'; |
| | | const props = defineProps(['olMap']); |
| | | const emit = defineEmits(['close']); |
| | | const activeSourceType = computed(() => props.olMap.activeSourceType.value); |
| | | const activeSourceType = computed(() => props.olMap?.activeSourceType.value); |
| | | const defaultProps = { |
| | | children: 'children', |
| | | label: 'title', |
| | |
| | | }); |
| | | |
| | | const handleThemeChange = async (val, themeGroup) => { |
| | | props.olMap.changeTheme(val); |
| | | props.olMap.setThemeById(val); |
| | | }; |
| | | const cancelTheme = (themeId: string) => { |
| | | themeInfo.value.find((item) => item.id === themeId).activeTheme = null; |