# esri-map-extends

> 基于esri地图扩展应用

Latest version **1.0.2** (published 2017-09-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install esri-map-extends
pnpm add esri-map-extends
yarn add esri-map-extends
bun add esri-map-extends
```

## Health

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

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

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-09-03 |
| First published | 2017-08-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | chendebao |
| Maintainers | chendebao |
| Keywords | ts, ngx, esri, map, route |

## Links

- npm: https://www.npmjs.com/package/esri-map-extends
- Repository: https://github.com/chendb/esri-map-extends
- Homepage: https://github.com/chendb/esri-map-extends#readme
- Issues: https://github.com/chendb/esri-map-extends/issues
- npm.io page: https://npm.io/package/esri-map-extends

## 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.2 (latest) — 2017-09-03
- 1.0.1 — 2017-09-03
- 1.0.0 — 2017-08-28

## README

# esri-map-extends
> esri-map-extends module

## 生成步骤

``` bash
# 安装依赖
npm install

# 运行生产编译
gulp

# npm发布
npm publish
```
## 组件说明
```
该类库封闭了对arcgis二维地图常用操作，便于对gis知识不了解的开发人员实现复杂的地图相关业务逻辑。
```
## 使用示例：
1、构建地图对象
```
    import {EgovaMap,EgovaMapOptions} from 'esri-map-extends';

    let egovaMapOptions = new EgovaMapOptions(....);
    let egovaMap=new EgovaMap("divMap",egovaMapOptions);
```
    
2、定义图层
```
    import {EgovaMap,EgovaMapOptions,EgovaDeviceLayer} from 'esri-map-extends';
    export class VideoLayer extends EgovaDeviceLayer{
        ...........
    }
```
3、实例化图层
```
    let deviceLayerOptions= new EgovaDeviceLayerOptions(....);
    let videoLayer = new VideoLayer(egovaMap,deviceLayerOptions);
```

4、往图层添加数据
```
    videoLayer.showDatas([
        {id:"1",name:"视频点位1",longitude:123.00,latitude:36.00},
        {id:"2",name:"视频点位2",longitude:124.00,latitude:36.00}
    ]);
```

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