Skip to content

Remove Feature.pullGeometry#3369

Merged
yohanboniface merged 1 commit into
journalfrom
rm-pullgeometry
Jun 9, 2026
Merged

Remove Feature.pullGeometry#3369
yohanboniface merged 1 commit into
journalfrom
rm-pullgeometry

Conversation

@yohanboniface

Copy link
Copy Markdown
Member

Feature had both pushGeometry and pullGeometry, which was not pure
in terms of flow.
We first tried to use Turf to convert Leaflet internal's latlngs, but
those are objects with lat/lng/alt properties, and Turf does not know
nothing about that.
So let's make that Feature is geojson only and the UI deals with
latlngs.
There are still other coupling, but that's one less!

@yohanboniface yohanboniface force-pushed the journal branch 2 times, most recently from 8866723 to 004e8e5 Compare June 5, 2026 09:09
Feature had both pushGeometry and pullGeometry, which was not pure
in terms of flow.
We first tried to use Turf to convert Leaflet internal's latlngs, but
those are objects with lat/lng/alt properties, and Turf does not know
nothing about that.
So let's make that Feature is geojson only and the UI deals with
latlngs.
There are still other coupling, but that's one less!
@yohanboniface yohanboniface merged commit 5d2ccce into journal Jun 9, 2026
3 checks passed
@yohanboniface yohanboniface deleted the rm-pullgeometry branch June 9, 2026 15:05
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