vue-tmap icon indicating copy to clipboard operation
vue-tmap copied to clipboard

TypeError: _map_component_vue_tmap__WEBPACK_IMPORTED_MODULE_0__.TMap.LatLng is not a constructor

Open TheMelody opened this issue 1 year ago • 0 comments

使用TMap.LatLng 报错: TypeError: map_component_vue_tmap__WEBPACK_IMPORTED_MODULE_0_.TMap.LatLng is not a constructor

import { TMap } from "@map-component/vue-tmap";

var pointA = new TMap.LatLng(maxLat,maxLng);  // 创建点坐标A
var pointB = new TMap.LatLng(minLat,minLng);  // 创建点坐标B

你们文档不是写可以:直接调用地图原生 api吗?

TheMelody avatar Aug 14 '24 02:08 TheMelody