mxxcon
87819ed53f
Adds nycdoitt:bin tag to list of tags to keep on building
...
When extracting a POI from a building or downgrading a building, this update keeps nycdoitt:bin= tag with the building, not extracts it to the node or deletes it.
resolves #8539
2023-11-14 09:42:32 +01:00
Martin Raifer
85022dcc6c
render operations texts with lang attribute
2022-06-23 19:23:16 +02:00
Martin Raifer
250763882d
fix code lint issues
2021-12-02 18:46:14 +01:00
Martin Raifer
5761f53c41
fix eslint warning
2021-12-01 12:16:19 +01:00
Martin Raifer
d062c1b0da
emphasise when split affects multiple ways
...
* new icon with two "sciscors" indicates that there will be more than one split perfomed
* the tooltip mentions that one can limit to a single line
closes #8818
2021-11-30 16:27:56 +01:00
John Firebaugh
1457759994
Add support for connectivity relations
2021-09-08 20:30:38 -07:00
John Firebaugh
a14cf49710
Disable merge operation when it would damage relations
...
The operation is disabled when attempting to join ways which don't belong to identical sets of relations. Restriction relations are excluded, because they are already handled with slightly different logic.
Fixes #8674
Fixes #8645
Fixes #3825
Fixes #1512
2021-09-04 15:42:07 -07:00
Quincy Morgan
0a0e2dcf75
Fix issue where extracting points could results in off placements ( close #8246 )
2020-12-11 12:50:32 -05:00
Quincy Morgan
ec1c922cda
Allow moving single nodes using the Move operation ( close #8225 )
2020-12-02 15:13:33 -05:00
Quincy Morgan
6b8cbbd12b
Don't remove source:* tags when downgrading features ( close #8097 )
2020-10-29 13:40:45 -04:00
Quincy Morgan
dc8fd13586
Enable array-callback-return eslint rule
2020-10-23 13:47:09 -04:00
Quincy Morgan
64ec6424db
Enable additional eslint rules, including no-useless-concat
2020-10-23 11:12:47 -04:00
Quincy Morgan
27003d9e71
Highlight related but unselected features when hovering over operations in the edit menu ( close #8034 )
2020-09-30 16:46:13 -04:00
Quincy Morgan
3c40045a9b
After splitting, select the nodes as well as the resultant ways, but don't select any relations ( close #5174 )
2020-09-29 16:18:43 -04:00
Quincy Morgan
1daab15766
Add more exacting descriptions for splitting different amounts of different types of features at different amounts of points (re: #7990 )
2020-09-29 14:15:40 -04:00
Quincy Morgan
2b8d8960d3
Enable downgrade operation to remove all tags from vertices ( close #6756 )
2020-09-28 17:49:51 -04:00
Quincy Morgan
61e2d20348
Support Downgrade and Delete operations at the same time ( close #7682 )
2020-09-28 17:19:40 -04:00
Quincy Morgan
c940d827e6
Enable the Split operation for multiple selected nodes ( close #7990 )
2020-09-24 15:13:05 -04:00
Quincy Morgan
79688ce2d9
Show count and use plural forms for more operation strings (re: #8014 )
2020-09-22 09:10:49 -04:00
Quincy Morgan
a1c2b7f73d
Support language-specific pluralization (re: #597 , #4964 )
2020-09-14 17:21:00 -04:00
Quincy Morgan
295c53810f
Fix issue where text could not be copied while a feature was selected ( close #7908 )
2020-09-04 10:49:02 -04:00
Quincy Morgan
43f5386dad
Ignore unaffected nodes when determining if Disconnect is disabled due to lack of visibility ( close #7944 )
2020-09-02 13:14:19 -04:00
Quincy Morgan
22df464e0d
Fix issue where valid merge operations could be blocked
...
Disable merge when it'd create a redundant multipolygon or add a redundant membership
2020-06-29 10:51:12 -04:00
Quincy Morgan
0c95b12964
Fix issue with extracting relations
2020-06-28 14:46:49 -04:00
Quincy Morgan
0f0f0637ee
Disable Move and Rotate menu buttons for touch interaction for now (re: #7599 )
2020-06-26 17:18:35 -04:00
Quincy Morgan
5f93da5a59
Add a reusable function for calculating the combined extent of multiple entities (re: #7706 )
2020-06-16 13:17:43 -04:00
Quincy Morgan
8b258d2cbd
Load the maximum nodes per way value from the OSM API and add a getter to the service object
...
Disable the Merge operation if the resultant way would have more than the maximum number of nodes (close #6030 )
Simplify some code in operationMerge
2020-06-08 14:38:49 -04:00
Quincy Morgan
fd41e5fd75
Add specific error feedback for disabled straighten operation for multiple selected features
2020-06-08 11:16:25 -04:00
Quincy Morgan
e8a227fc59
Allow straightening a selected line between two points if the two points are visible, regardless of how long the line is
2020-06-08 10:08:52 -04:00
Quincy Morgan
ab3717bbc8
Disable the Straighten operation when not enough of the selection is visible ( close #7675 )
...
Add specific straighten tooltip and annotation labels for multiple selected lines
2020-06-05 14:59:27 -04:00
Quincy Morgan
02f8849bd0
Properly disable more operations for single nodes that aren't visible
2020-06-05 14:22:50 -04:00
Quincy Morgan
28bd985a31
Prevent disconnecting nodes that aren't mostly visible
...
Return 1 for geoExtent.percentContainedIn when caller is a zero-area extent contained within the argument extent
Prefix function-scope operationExtent variables with underscores
2020-06-05 13:54:41 -04:00
Quincy Morgan
790f90c11d
Show "not visible" disabled reason over "connected to hidden" in the extract operation when both are applicable, in accordance with other operations
2020-06-05 13:12:51 -04:00
Quincy Morgan
6128c6514f
Enable the Extract operation for multiple selected extractable features ( close #7600 )
...
Allow extracting vertices that are `via` or `location_hint` relation members
2020-06-04 16:35:25 -04:00
Quincy Morgan
6c2b097eb7
Enable disconnection of multiple selected features from each other, if connected, and otherwise from everything ( close #7652 )
...
Add specific descriptions for a wider range of disconnection scenarios
2020-06-03 14:51:31 -04:00
Quincy Morgan
084d9336c4
Anchor pasted features to the position they were copied if done so with the edit menu (re: #2508 )
2020-05-15 10:55:23 -04:00
Quincy Morgan
21ed04ed65
Limit Copy operation by visible extent ( close #7603 )
2020-05-15 09:51:50 -04:00
Quincy Morgan
db9eed2434
Move the edit menu logic to uiInit
...
Make context the first argument of operation objects
Add Paste operation to edit menu when opening the context menu on a blank area of the map (close #2508 )
2020-05-14 15:49:35 -04:00
Quincy Morgan
8799011abc
Fix code tests
2020-05-13 16:04:40 -04:00
Quincy Morgan
0278e700a0
Convert feature copying functionality from a standalone behavior to an operation and add to edit menu (re: #2508 )
...
Show flash feedback message when copying features with keyboard shortcut
Disallow copying of untagged vertices
2020-05-13 15:42:28 -04:00
Quincy Morgan
e0a23723da
Enable extracting lines to POIs ( close #7598 )
2020-05-13 11:59:55 -04:00
Quincy Morgan
04bdc4da1c
Make the extract operation a single step instead of immediately entering modeMove ( close #6674 )
2020-05-13 10:58:53 -04:00
Quincy Morgan
60f7dc7c0b
Replace presets property of context with singleton
...
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
a1af118f0e
Ensure locales and presets are loaded before the UI loads ( close #7406 )
...
Consolidate localization behavior and init to a coreLocalizer function and singleton
Explicitly support `en-US` locale
Rename coreData to coreFileFetcher and export a singleton rather than using a property of coreContext
Add `apiConnections` property of coreContext to simplify adding a source switcher
Replace some init functions with re-callable, promise-supporting `ensureLoaded` functions
Make coreContext itself load the UI if a container has been specified at init time
Fix code tests
2020-03-31 12:23:31 -07:00
Quincy Morgan
da882c1e80
Don't reselect trivial points after merging
2020-03-23 13:23:40 -07:00
Quincy Morgan
5125c04a58
Fix issue where merging a point matching a fallback preset into an area could discard tag values ( close #7446 )
2020-03-23 12:47:14 -07:00
Quincy Morgan
6087aae21f
Remove map convenience functions of context
2020-03-22 10:57:17 -07:00
Quincy Morgan
73d8a7f4b0
Fix code test
2020-03-21 14:32:46 -07:00
Quincy Morgan
3c0b926ec7
Replace coreContext.geometry function with a more explicit coreGraph.geometry function
2020-03-21 14:23:44 -07:00
Quincy Morgan
1041f89716
Fix line continuing
2020-03-16 13:43:24 -07:00