Skip to content

tidy up snaps#74

Merged
jessicamcinchak merged 11 commits intojr/snappingfrom
jess/snapping
Nov 10, 2021
Merged

tidy up snaps#74
jessicamcinchak merged 11 commits intojr/snappingfrom
jess/snapping

Conversation

@jessicamcinchak
Copy link
Copy Markdown
Member

@jessicamcinchak jessicamcinchak commented Nov 5, 2021

looks like more than it is because i'm based off main!

makes sure we only add the snapping layer when in drawMode with the vectorTile basemap enabled

shuffles the code around a bit to keep it closer to drawing logic in the flow of my-map.ts, and moves a couple more definitions to snapping.ts

not thinking about styling yet! maybe just easiest to set a snapping color property so it's easy to keep changing minds about? 🙃

also still thinking about how snaps should work once you close your shape? can we actually modify-to-snaps? if we cant, maybe points should disappear?

@jessicamcinchak jessicamcinchak changed the title tidy up tidy up snaps Nov 5, 2021
@jessicamcinchak
Copy link
Copy Markdown
Member Author

going to merge into your PR so we have a single place for BOPs devs to code review & can unblock this ! https://trello.com/c/rQMerGkO/447-red-line-tool-snap-to-feature

@jessicamcinchak jessicamcinchak merged commit fd90f88 into jr/snapping Nov 10, 2021
@jessicamcinchak jessicamcinchak deleted the jess/snapping branch November 10, 2021 09:45
@jessicamcinchak jessicamcinchak restored the jess/snapping branch November 10, 2021 09:57
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.

1 participant