Skip to content

Conversation

@jessicamcinchak
Copy link
Member

Previously, when a feature was modified it's label would shift because internally it was moving to the last position in the drawing source. Now, keep labels on modify by checking if the "label" property already exists and only add new labels to new features.

Expect we might revisit this again when getting further into remove-one-at-a-time, but this fixes our known existing bug !

chrome-capture-2024-8-2 (1)

@netlify
Copy link

netlify bot commented Sep 2, 2024

Deploy Preview for oslmap ready!

Name Link
🔨 Latest commit 9ea227d
🔍 Latest deploy log https://app.netlify.com/sites/oslmap/deploys/66d5c11e6d245c0008e2e7c1
😎 Deploy Preview https://deploy-preview-493--oslmap.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@jessicamcinchak jessicamcinchak requested a review from a team September 2, 2024 13:44
@jessicamcinchak jessicamcinchak merged commit 978cbc4 into main Sep 2, 2024
@jessicamcinchak jessicamcinchak deleted the jess/fix-shifting-drawmany-labels branch September 2, 2024 16:39
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.

2 participants