vue2-playground vue2.7-playground vue3-playground .commitlintrc.js .eslintignore .eslintrc.js .gitignore .npmrc CHANGELOG.md CONTRIBUTING.md LICENSE README.md babel.config.js env.d.ts index.html package.json pnpm-workspace.yaml tsconfig.json vite.base.config.ts Latest commit mvpdong 组件库代码提交 Jul 11,...
// 增加vue类型定义 declare module '*.vue' { import type { DefineComponent } from 'vue3'; const component: DefineComponent<Record<string, unknown>, Record<string, unknown>, any>; export default component; } 1 2 3 4 5 6 7While the code is focused, press Alt+F1 for a menu of operatio...
2. 在Vue项目中集成腾讯地图SDK 在你的Vue项目中,你可以创建一个新的地图组件来封装腾讯地图的初始化和显示逻辑。例如,你可以创建一个名为MapComponent.vue的组件。 3. 创建一个地图组件,并初始化腾讯地图 在MapComponent.vue中,你可以这样初始化腾讯地图: vue <template> <div id="mapContainer" ...
[ "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "demos/**/*.vue", "scripts/**/*.js", "vite.base.config.ts", "env.d.ts", "vue2-playground/main.ts", "vue2.7-playground/main.ts", "vue3-playground/main.ts", "vue2-playground/vite.config.ts", "vue2.7-playground/...
vue2框架下使用 importVuefrom'vue';importTlbsMapfrom'tlbs-map-vue';Vue.use(TlbsMap); vue3框架下使用 import{createApp}from'vue';importTlbsMapfrom'tlbs-map-vue';constapp=createApp(App);app.use(TlbsMap); 组件库使用文档参考:https://mapapi.qq.com/web/tlbs-map-vue/guide/get-started.html...
"node":">=16.0.0" 26+ }, 2427 "scripts": { 2528 "postinstall":"node scripts/postinstall.js", 2629 "dev:2":"vue-demi-switch 2 vue2 && pnpm --filter vue2-playground dev", 0commit comments Comments 0(0) Pleasesign into comment....
Code Issues6 Pull requests Actions Projects Security Insights Additional navigation options Files master Sign in to see the full file tree. src geometry-editor.ts Breadcrumbs tlbs-map-vue /src / geometry-editor.ts Latest commit Cannot retrieve latest commit at this time. ...
基于腾讯位置服务 JavaScript API 封装的 Vue 版地图组件库. Contribute to Tencent/tlbs-map-vue development by creating an account on GitHub.
2 changes: 1 addition & 1 deletion 2 demos/marker-cluster.vue Original file line numberDiff line numberDiff line change @@ -18,7 +18,7 @@ import{defineComponent,ref}from'vue-demi'; exportdefaultdefineComponent({ name:'ClusterDemo',
@@ -2,7 +2,8 @@ import { onUnmounted, SetupContext, isVue2 } from 'vue-demi'; 2 2 // 绑定地图及图层事件 3 3 export default function useEventListener( 4 4 // 可以传地图实例和图层实例 5 - instance: TMap.Map | TMap.GeometryOverlay | TMap.tools.GeometryEditor | TMap.MarkerClu...