项目列表和分包单位以及迁移人员
This commit is contained in:
17
node_modules/@amap/amap-jsapi-loader/test/demo.ts
generated
vendored
Normal file
17
node_modules/@amap/amap-jsapi-loader/test/demo.ts
generated
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
import AMapLoader from "../";
|
||||
// import { } from "@ali/test-amap-jsapi";
|
||||
|
||||
AMapLoader.load({
|
||||
key: "test",
|
||||
version: "2.0"
|
||||
}).then(() => {
|
||||
new AMap.Circle({})
|
||||
const map = new AMap.Map("div");
|
||||
map.on("complete", () => {
|
||||
const circle = new AMap.Circle({
|
||||
center: [135, 45],
|
||||
radius: 40
|
||||
});
|
||||
map.add(circle);
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user