# amap-route-remapping

> A plugin for remapping route in AMap

Latest version **1.0.0** (published 2017-02-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install amap-route-remapping
pnpm add amap-route-remapping
yarn add amap-route-remapping
bun add amap-route-remapping
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-02-26 |
| First published | 2017-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ccyongzhi |
| Maintainers | ccyongzhi |
| Keywords | AMap, route, mapping |

## Links

- npm: https://www.npmjs.com/package/amap-route-remapping
- npm.io page: https://npm.io/package/amap-route-remapping

## Alternatives

- [express-promise-router](https://npm.io/package/express-promise-router.md) — 736.1K weekly downloads
- [next-usequerystate](https://npm.io/package/next-usequerystate.md) — 29.8K weekly downloads
- [@bitkyc08/opencodex](https://npm.io/package/@bitkyc08/opencodex.md) — 4.6K weekly downloads
- [lynkr](https://npm.io/package/lynkr.md) — 575 weekly downloads
- [baremetal.js](https://npm.io/package/baremetal.js.md) — 42 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-02-26

## README

# amap_route_remapping
高德地图路线重绘插件

example

```html
<!-- index.html -->
<html>
<head></head>
<body>
  <div id="container" style="height:600px;width:100%;"></div>
</body>
<script src="http://webapi.amap.com/maps?v=1.3&key=******"></script>
<script src="./amap_test.js"></script>
</html>
```

```javascript
// amap.js
import AMapType from 'amap_route_remapping'
//基本地图加载
let map = new AMap.Map("container", {
  resizeEnable: true,
  center: [120.154, 30.260],
  zoom: 14
});

let amap_instance = new AMapType({
  map: map,
  start_pos: [120.13,30.27],
  end_pos: [120.18,30.25],
  strokeStyle: {
    strokeColor: '#3366ff',
    strokeOpacity: '1',
    strokeWeight: 6,
    strokeStyle: 'solid'
  }
});

amap_instance.draw_route();

```

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