@antv/l7-component
Advanced tools
Comparing version
@@ -1,13 +0,5 @@ | ||
import { ILngLat, IPoint, IPopup } from '@antv/l7-core'; | ||
import { ILngLat, IMarkerOption, IPoint, IPopup } from '@antv/l7-core'; | ||
import { anchorType } from '@antv/l7-utils'; | ||
import { EventEmitter } from 'eventemitter3'; | ||
import { Container } from 'inversify'; | ||
export interface IMarkerOption { | ||
element: HTMLElement | undefined; | ||
anchor: anchorType; | ||
color: string; | ||
offsets: number[]; | ||
draggable: boolean; | ||
extData?: any; | ||
} | ||
export default class Marker extends EventEmitter { | ||
@@ -14,0 +6,0 @@ private markerOption; |
@@ -20,3 +20,3 @@ import { ILngLat, IPopup, IPopupOption } from '@antv/l7-core'; | ||
setHTML(html: string): this; | ||
setLnglat(lngLat: ILngLat): this; | ||
setLnglat(lngLat: ILngLat | number[]): this; | ||
getLnglat(): ILngLat; | ||
@@ -23,0 +23,0 @@ setText(text: string): this; |
{ | ||
"name": "@antv/l7-component", | ||
"version": "2.0.34", | ||
"version": "2.0.35", | ||
"description": "", | ||
@@ -27,4 +27,4 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@antv/l7-core": "^2.0.34", | ||
"@antv/l7-utils": "^2.0.34", | ||
"@antv/l7-core": "^2.0.35", | ||
"@antv/l7-utils": "^2.0.35", | ||
"@babel/runtime": "^7.7.7", | ||
@@ -35,3 +35,3 @@ "eventemitter3": "^4.0.0", | ||
}, | ||
"gitHead": "0cd353247938bf8587bfea79f3f535ffb1b7c27c", | ||
"gitHead": "5ee889f42f362419afc3ba6bca84c69da6e10629", | ||
"publishConfig": { | ||
@@ -38,0 +38,0 @@ "access": "public" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
359095
1.84%53
10.42%3684
2.33%Updated
Updated