Skip to content

ignore drawend event when drawtool disable #1849

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 25, 2022
Merged

Conversation

deyihu
Copy link
Collaborator

@deyihu deyihu commented Nov 24, 2022

fix #1848

@deyihu deyihu changed the title fix #1848 not fire drawend event when drawtool disable Nov 24, 2022
@deyihu deyihu changed the title not fire drawend event when drawtool disable ignore drawend event when drawtool disable Nov 24, 2022
@fuzhenn fuzhenn merged commit 98b090f into maptalks:master Nov 25, 2022
@deyihu deyihu deleted the 1848 branch November 25, 2022 13:26
fuzhenn pushed a commit that referenced this pull request Mar 10, 2023
* fix #1848

* fix

* fix OffscreenCanvas getContext warn about willReadFrequently
fuzhenn added a commit that referenced this pull request Mar 16, 2023
…rain surface (#1903)

* add missing onMoveStart for prjCenter in map.animate

* add _recenterOnTerrain

* improve terrain related and fix coord conversion with terrain

* camera on terrain when zooming

* consider average tile altitude in tile visiting

* fix WMS on EPSG:4490

* add drawingTiles/drawingChildTiles/drawingParentTiles stage on TileLayerCanvasRenderer

* update infowindow title default css (#1841)

* synchronize the layer's remove event (#1844)

* synchronize the layer's remove event

* fix lint error

* fix geometry remove spec( by layer.remove)

* snapTo geometry First coordinate when draw start (#1845)

* TextBox support function-type width and height (#1853)

* fix WMS on EPSG:4490

* add missing onMoveStart for prjCenter in map.animate

* TextBox support function-type width and height

* fix specs

* ignore drawend event when drawtool disable (#1849)

* fix #1848

* fix

* fix OffscreenCanvas getContext warn about willReadFrequently

* Map event system: ignore the layer when its geometry does not listen … (#1847)

* Map event system: ignore the layer when its geometry does not listen to the corresponding event

* fix event links such as mousemove link mouseenter

* some updates related with geometry events

* fix spec

* 1.0.0-rc.15

* fixed NaN height of vector-type marker when markerHeight is 0

* upgrade function-type to 1.3.0

* fix map renderer domEvent remove

* add spec for color-interpolate function-type

* 1.0.0-rc.16

* upgrade @maptalks/function-type

* 1.0.0-rc.17

* fix webgl context when starting draw tiles, fix maptalks/issues#171

* move geometryEvetns def to OverlayLayer

* use polygon offset to solve z-fighting

* fix crash on ios weixin, #1761

* upgrade feature-filter

* fix coordinatesToContainerPointsAtRes

* redraw map when startEdit

* fix TileLayerGLRenderer

* rename this.drawingTiles to this.drawingCurrentTiles

* add missing comment

* remove default z from Position

* deal with z in Position.toJSON/toFixed

* remove default z from Position

* fixing specs

* happy lint

* fixing specs

* fixing specs

* fixing specs

---------

Co-authored-by: hu de yi <mehudeyi@163.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

drawTool在绘制point后调用禁用函数,会在禁用所在位置坐标下新生成一个point
2 participants