UNPKG

@tuoyuan/map-adapter-tmap

Version:

天地图适配器

54 lines (27 loc) 1.61 kB
### 2.0.12 - Marker 鼠标事件 position 参数支持高 ### 2.0.11 - Marker 信息窗口支持偏移位置功能 ### 2.0.8 - Map 增加 长按事件(longpress) - 修复 Map 鼠标右击事件 - 删除 Marker、Polyline、Polygon 鼠标右击事件 ### 2.0.7 - `TMap`类增加`getDistanceFromPixels`方法 ### 2.0.6 - 修复 Polyline、Polygon 的 Label 显示/隐藏 bug ### 2.0.5 - 修复 Polyline、Polygon 更新样式后无法监听事件 bug ### 2.0.4 - 修复 Marker Label 位置偏移量 bug ### 2.0.2 - 修复 Marker 更新样式后无法监听事件 bug ### 2.0.1 - 新增`TMap` - 新增`load``init``initEvent``addMarker``removeMarker``addPolyline``removePolyline``addPolygon``removePolygon``panTo``getCenter``setZoom``getNorthEast``getNorthWest``getSouthEast``getSouthWest``getViewBounds``destroy``setFitView`方法 - 新增`AMapMarker` - 新增`initEvent``renderIcon``renderLabel``setName``setPosition``setIcon``setLabel``hidden``show``showLabel``hiddenLabel``getInstances``remove``panTo``openInfoWindow``closeInfoWindow`方法 - 新增`AMapPolyline` - 新增`initEvent``renderPolyline``setPath``setStyle``hidden``show``getInstances``remove``panTo``getBounds``openInfoWindow``closeInfoWindow`方法 - 新增`AMapPolygon` - 新增`initEvent``renderPolygon``setPath``setStyle``hidden``show``getInstances``remove``panTo``getBounds``getArea``openInfoWindow``closeInfoWindow`方法