2. 在Vue项目中集成腾讯地图SDK 在你的Vue项目中,你可以创建一个新的地图组件来封装腾讯地图的初始化和显示逻辑。例如,你可以创建一个名为MapComponent.vue的组件。 3. 创建一个地图组件,并初始化腾讯地图 在MapComponent.vue中,你可以这样初始化腾讯地图: vue <template> <div id="mapContainer" ...
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 ...
// 增加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...
[ "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框架下使用5 changes: 4 additions & 1 deletion 5 package.json Original file line numberDiff line numberDiff line change @@ -1,6 +1,6 @@ { "name": "tlbs-map-vue", "version": "1.1.0", "version": "1.1.1", "description": "基于vue的地图组件", ...
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...
8 changes: 7 additions & 1 deletion 8 docs/components/area.md Original file line numberDiff line numberDiff line change @@ -19,4 +19,10 @@ | selectOptions | TMap.visualization.VisualSelectOptions | 拾取配置,可设置拾取动作、选中样式,其中选中样式需符合AreaStyle对象规范。 | | options | `...