Commit Graph

4116 Commits

Author SHA1 Message Date
Nikola Pleša
eba6fe056c Bring map map feature tooltips 2021-06-29 11:54:02 +02:00
Nikola Pleša
8e46b1b141 Remove unused map feature title 2021-06-28 15:26:20 +02:00
Nikola Pleša
6a35533147 Merge develop into mapillary-vector-tiles 2021-06-25 13:07:05 +02:00
Milos Brzakovic
7cb2ff7f54 Merge pull request #8442 from openstreetmap/8441-move-rotate
In move/rotate cancel, check whether graph has changed before popping
2021-06-22 11:15:56 +02:00
Milos Brzakovic
70b95e4fc8 Merge pull request #8341 from jleedev/fix-centroid
Fix centroid calculation in measurement panel.
2021-06-21 19:47:46 +02:00
Milos Brzakovic
83509f98de Merge pull request #8473 from mbrzakovic/8472-crossEditableZoom
CrossEditableZoom event firing fix - Use fresh zoom level value to determine if event should be fired
2021-06-21 16:54:22 +02:00
Nikola Pleša
d8670ac383 Remove debugging code 2021-06-15 10:56:55 +02:00
Nikola Pleša
87a823f093 Fix traffic sign rendering and geometry conversion 2021-06-15 10:56:08 +02:00
Nikola Pleša
7a0d8adb7b Switch to Mapillary API v4 2021-06-15 10:13:07 +02:00
Bryan Housel
42f286b064 Switch to osm-community-index v4.0.0 2021-04-30 15:57:15 -04:00
Bryan Housel
b47952b369 Move the complicated linkification code from iD to resolveStrings
It's easier to insert the links there, and then the HTML strings are availble for anyone who wants them
2021-04-30 11:26:24 -04:00
Bryan Housel
25bf950458 Upgrade to osm-community-index (oci) v4
The main differences here is:
- oci now supports default strings and exports a "resolveStrings" function
- this makes linkifying any urls embedded in descriptions a bit more complicated
  because urls and descriptions might need resolution, we can't use iD's normal
  t() function to do the token replacement like before
2021-04-29 17:53:53 -04:00
Milos Brzakovic (E-Search)
92a9ef2061 Move CrossEditableZoom event firing.
It should happen after projection is transformed.
2021-04-27 14:10:13 +02:00
Bryan Housel
2651e7ddc9 In move/rotate cancel, check whether graph has changed before popping
(closes #8441)
2021-04-02 09:48:41 -04:00
Bryan Housel
a0b7f9f99f Pass d3_event to click handler 2021-03-12 09:55:38 -05:00
Nikola Pleša
6cd17713fa Use Mapillary vector tiles for images, sequences and map features 2021-03-01 10:19:41 +01:00
Josh Lee
ac6251cf9e Fix centroid calculation in measurement panel.
Copy/paste of 0a0e2dcf75
2021-02-23 18:11:02 +00:00
Quincy Morgan
4ae7bc9bd5 Update Mapillary.Viewer call for mapillary-js v3 (re: #8245) 2021-02-23 12:27:32 -05:00
Quincy Morgan
9423f61adf Improve some variable names in core/localizer 2021-02-23 11:50:42 -05:00
Quincy Morgan
13ddeecfa7 Fix code tests for #8276 for real this time
Add utilFetchJson to get around some quirks of d3.json and use it for coreFileFetcher
Load real general English locale strings at the beginning of code tests
2021-02-23 11:50:00 -05:00
Quincy Morgan
d0754a9256 Trim whitespace from localized string ids 2021-02-15 11:09:26 -05:00
Quincy Morgan
6f66032237 Fix issue with replacing number tokens in strings when toLocaleString is unavailable, such as when running tests (re: #8276) 2021-02-15 10:59:44 -05:00
Quincy Morgan
e09af9a575 Merge pull request #8322 from rbuffat/fix_wms_axis_ordering_detection
Fix wms detection to determine axis ordering
2021-02-15 10:26:56 -05:00
Quincy Morgan
3fade479af Merge pull request #8310 from openstreetmap/fix_notes
Fix a few errors in note processing
2021-02-05 11:46:06 -05:00
Bryan Housel
4c1d51348d Don't repurpose a node with interesting tags in crossing_ways fix
(closes #8326)
2021-01-27 14:38:11 -05:00
René Buffat
c721c1ebb5 fix wms detection 2021-01-26 20:30:36 +01:00
Bryan Housel
f195128968 Fix a few errors in note processing
- Notes still load over the xml api, so when the user is not authenticated,
  we can't use d3_json to fetch them (instead use to d3_xml)
- Make sure to delete the deferred callback handles once the callbacks are
  processed (probably unnecessary, but good housekeeping)
- Remove a stray `if (!json.elements)` block from the `parseUserJSON`
  function. This was preventing the user profile from parsing, as the
  user's JSON has no such property (was probably copied from `parseJSON`)
2021-01-21 14:29:17 -05:00
Bryan Housel
2cd11040b3 Swap out w8r/martinez clipper for mfogel/polygon-clipping
This is a drop in replacement that performs better and yields more correct results
see also https://github.com/ideditor/location-conflation/pull/20
2021-01-21 11:31:29 -05:00
Quincy Morgan
483ea41f46 Merge pull request #8276 from openstreetmap/1ec5-display-name-direction
Label route relations with directions and waypoints
2021-01-08 10:13:41 -05:00
Quincy Morgan
ddf868221a Use vertical bar for selecting parent ways instead of command+up arrow (re: #8264)
Support pressing vertical bar again to return to node selection
2021-01-06 14:26:24 -05:00
Quincy Morgan
b0df3139e4 Don't highlight-focus single ways when one of their nodes is selected
Fix stale highlight-focus of parent way when selecting an unrelated vertex
Rename some confusing identifiers in modeSelect
Move global _relatedParent functionality into modeSelect proper
Re: #8264
2021-01-06 12:26:08 -05:00
Quincy Morgan
872d820b5a Merge pull request #8264 from openstreetmap/1ec5-select-way-2225
Add shortcut to select parent way(s)
2021-01-06 11:04:38 -05:00
Quincy Morgan
da00571409 Update variable name 2021-01-05 12:43:27 -05:00
Quincy Morgan
e57793fab0 Use full width semicombo field for Via field (re: https://github.com/openstreetmap/id-tagging-schema/issues/104) 2021-01-05 11:07:00 -05:00
Quincy Morgan
2c2eabb145 Don't count tags under the name namespace as descriptive tags (close #8273)
Don't count `description`, `note`, `start_date`, or tags under those namespaces as descriptive tags
2021-01-05 09:56:19 -05:00
Minh Nguyễn
6e30e61ade Label route relations with directions and waypoints 2020-12-31 16:50:47 -08:00
Minh Nguyễn
3802a4809f Maintain selection if there are no parents 2020-12-22 12:22:33 -08:00
Minh Nguyễn
8e2301d3b7 Consolidated parent selection functions 2020-12-22 12:16:38 -08:00
Minh Nguyễn
5433c8ff42 Select all parent ways, not just common parents 2020-12-22 11:51:22 -08:00
Minh Nguyễn
e031ee3aef Ctrl+UpArrow for selecting parent way 2020-12-22 11:28:46 -08:00
Minh Nguyễn
d95d204b62 Recurse up, not down 2020-12-22 00:19:55 -08:00
Minh Nguyễn
acc127bb7f Select all parent ways if specific parent way not selected 2020-12-21 23:38:26 -08:00
Minh Nguyễn
2fff6aec93 Added shortcut to select parent way 2020-12-21 21:59:50 -08:00
Quincy Morgan
af4acaec79 Don't clear power output tag when changing between power presets (close #8159) 2020-12-21 13:17:18 -05:00
Quincy Morgan
6cd81df1a2 Fix preset search result sorting (re: #8242) 2020-12-21 11:26:34 -05:00
Quincy Morgan
2591a13f9c Honor diacritics on preset search value but still compare to stripped preset names (re: #8242) 2020-12-21 11:14:10 -05:00
Quincy Morgan
c61924407d Add icon styling for Mountain Biking Route preset (re: https://github.com/openstreetmap/id-tagging-schema/issues/99) 2020-12-21 10:08:55 -05:00
Quincy Morgan
d57ed85e98 Merge branch develop 2020-12-16 11:43:36 -05:00
Bryan Housel
9e93701c58 Update osm-community-index to v3.0.1
The major version bump is because
- it no longer distributes index.js/index.mjs code bundles
   (which iD hasn't needed in a long time anyway)
- renamed dist/features.json -> dist/featureCollection.json
2020-12-16 09:25:11 -05:00
Quincy Morgan
0a0e2dcf75 Fix issue where extracting points could results in off placements (close #8246) 2020-12-11 12:50:32 -05:00