[openstreetmap/openstreetmap-website] CRUD interface for moderation zones (PR #7148)
Pablo Brasero
notifications at github.com
Sat Jun 27 21:43:15 UTC 2026
@pablobm commented on this pull request.
> + feature: {
+ draggable: false,
+
+ // Individual coordinates that make up the Feature...
+ coordinates: {
+ // Midpoint be added
+ midpoints: {
+ // Midpoint be dragged
+ draggable: true
+ },
+
+ // Can be moved
+ draggable: true,
+
+ // Can snap to other coordinates from geometries _of the same mode_
+ snappable: true,
+
+ // Allow resizing of the geometry from a given origin.
+ // center will allow resizing of the aspect ratio from the center
+ // and opposite allows resizing from the opposite corner of the
+ // bounding box of the geometry.
+ resizable: false,
+
+ // Can be deleted
+ deletable: true
+ }
That's fair :+1: I copied it from the documentation and wasn't sure whether to lose the comments. Happy to remove them. The rephrasing of the one you left is good too.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/7148#discussion_r3486834561
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/7148/review/4586314356 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260627/d917e6d0/attachment.htm>
More information about the rails-dev
mailing list