# @amap/amap-jsapi-types

> amap-jsapi-types 是高德开放平台官网提供的地图 JSAPI2.0 的 Typescript 声明文件

Latest version **0.0.15** (published 2024-03-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install @amap/amap-jsapi-types
pnpm add @amap/amap-jsapi-types
yarn add @amap/amap-jsapi-types
bun add @amap/amap-jsapi-types
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.15 |
| Published | 2024-03-14 |
| First published | 2020-04-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 248 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 19 |
| Author | duxiaohui.dxh |
| Maintainers | duxiaohui, phlicess, fxxjdedd, qfish, mengmeng.du |

## Links

- npm: https://www.npmjs.com/package/@amap/amap-jsapi-types
- Repository: https://github.com/AMap-Web/amap-jsapi-types
- Homepage: https://github.com/AMap-Web/amap-jsapi-types#readme
- Issues: https://github.com/AMap-Web/amap-jsapi-types/issues
- npm.io page: https://npm.io/package/@amap/amap-jsapi-types

## Recent versions

- 0.0.15 (latest) — 2024-03-14
- 0.0.14 — 2024-03-06
- 0.0.13 — 2023-02-15
- 0.0.12 — 2023-02-15
- 0.0.11 — 2023-02-15
- 0.0.10 — 2022-10-24
- 0.0.9 — 2022-10-18
- 0.0.8 — 2020-10-21
- 0.0.7 — 2020-10-21
- 0.0.6 — 2020-10-21
- 0.0.5 — 2020-10-21
- 0.0.4 — 2020-04-14
- 0.0.3 — 2020-04-13
- 0.0.2 — 2020-04-03
- 0.0.1 — 2020-04-02

## README

# @amap/amap-jsapi-types

@amap/amap-jsapi-types 是高德开放平台官网提供的地图 JSAPI2.0 的 Typescript 声明文件。旨在为开发者提供 Typescript 环境下的类型提示，提升开发体验。

> 目前仅包含 JSAPI2.0 核心文件的接口，不包含插件的接口！ 

## INSTALL

`npm i -S @amap/amap-jsapi-types`

## USAGE

```ts
import "@amap/amap-jsapi-types";

const mapOptions: AMap.MapOptions = {
  center :[116.45, 39.92],
  zoom: 10,

};
const map = new AMap.Map('container',mapOptions);
const circle :AMap.CircleMarker = new AMap.CircleMarker({
  center:[116.45, 39.92],
  radius: 30
});

map.add(circle);
```

# 相关链接：

地&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;图 JSAPI：  &nbsp;&nbsp;[示例中心](https://lbs.amap.com/demo-center/jsapi-v2)&nbsp;&nbsp;&nbsp;&nbsp;[教程](https://lbs.amap.com/api/jsapi-v2/summary)&nbsp;&nbsp;&nbsp;&nbsp;[参考手册](https://lbs.amap.com/api/jsapi-v2/documentation)

官方 JSAPI 加载器：  &nbsp;&nbsp;&nbsp;&nbsp;[教程](https://lbs.amap.com/api/jsapi-v2/guide/abc/load)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[NPM](https://www.npmjs.com/package/@amap/amap-jsapi-loader)

---
_Source: https://npm.io/package/@amap/amap-jsapi-types · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
