Skip to content
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

snapTo geometry First coordinate when draw start #1845

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

deyihu
Copy link
Collaborator

@deyihu deyihu commented Nov 23, 2022

@fuzhenn fuzhenn merged commit 666c25e into maptalks:master Nov 23, 2022
@deyihu deyihu deleted the snapissue2 branch November 23, 2022 08:02
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.

如何在绘制polygon和lineString的时候,如何第一笔就贴边?
2 participants