Commit Graph

1188 Commits

Author SHA1 Message Date
Bryan Housel
013253ecde Improve combobox option visibility
(closes #4761)

This improves the usability of the combobox when it appears over
other rows of fields (e.g. raw tag editor)
1. shrink size on left/right to provide more separation from content beneath
2. adjust box shadow for slightly more visibility
3. shrink size of first option by one pixel, so that the combobox
   options will never perfectly line up with rows that they cover
2018-02-11 22:24:06 -05:00
Bryan Housel
0c23073d52 Correctly catch loc changes 2018-02-05 14:34:51 -05:00
Bryan Housel
6c3a02cebe Avoid lodash in hot code in coreDifference
(closes #2743, closes #4611)
2018-02-05 13:44:01 -05:00
Bryan Housel
dac753c4ea Speedup hot code in actionDiscardTags
(re: #4611)
2018-02-04 14:57:26 -05:00
john gravois
a96bf1421c query the appropriate metadata for esri clarity 2018-02-02 10:02:28 -08:00
Bryan Housel
db0858f7d2 v2.6.1 2018-02-01 11:38:41 -05:00
Bryan Housel
9d55cfb70f Treat both EsriWorldImagery layers the same (support vintage, etc) 2018-02-01 11:36:20 -05:00
Bryan Housel
80a998e9c5 Support multiple semicolon delimited direction values
(closes #4755)
2018-01-29 17:49:08 -05:00
Bryan Housel
4476d2f265 Merge pull request #4751 from bencostamagna/delete_warning
Warning on multiple deletions: added some details.
2018-01-29 08:58:51 -05:00
Benoit Costamagna
8e85fe847f correcting build issues 2018-01-29 13:20:50 +01:00
Benoit Costamagna
45b74d8730 Added difference between ways and areas 2018-01-29 13:10:39 +01:00
Benoit Costamagna
70a70ae906 very small optimization 2018-01-29 12:55:16 +01:00
Benoit Costamagna
8831ac18c9 Added more details to the warning when many elements are deleted 2018-01-29 12:50:50 +01:00
Bryan Housel
0b6183e2c5 Remove any duplicate vertex created during replaceMovedVertex 2018-01-29 01:03:03 -05:00
Bryan Housel
9b200cf514 Code cleanups, changes to replaceMovedVertex in moveAction
Trying to eliminate the minimum 10m distance for replacing the original
junction vertex - this is a small threshold.  When _not_ replacing this
vertex, the unzorro code will wreck havok on a traffic circle.
(If there is no suitable vertex to use, it will snap to a point between
the nearest vertices, see #4146)
2018-01-28 23:56:03 -05:00
Bryan Housel
f54d201eb2 Stop sequence from playing when the Mapillary viewer is hidden
(closes #4707)
2018-01-26 16:59:32 -05:00
Bryan Housel
db2d165a17 Support fallback mode for Mapillary when WebGL disabled
(closes #3804)
2018-01-26 16:27:48 -05:00
Bryan Housel
9ebf3b11a4 Don't initialize Mapillary viewer with a key
(closes #4536)

This avoids binding the viewer to an image key that might not be
fully processed, which gets the viewer into a bad state.

Instead, we initialize the viewer with a `null` image key and
issue `moveToKey` immediately.

This commit also adds exception handling for moveToKey.
2018-01-26 15:45:53 -05:00
Bryan Housel
db96246ddf Create fake entities for nominatim serach results, so they can be localized
(closes #4725)
2018-01-26 00:41:04 -05:00
Bryan Housel
d5bf2d9762 Add geoHasLineIntersections, better for testing multipolygon rings
(closes #4741)
2018-01-24 23:16:51 -05:00
Bryan Housel
fb196bee8c Persist area-fill-toggle so we can toggle out of wireframe
(closes #4740)
2018-01-24 14:53:30 -05:00
Bryan Housel
300616819d Don't use the same keybind id for modeSave (esc dialog) and uiSave (Ctrl+S)
(closes #4728)
2018-01-24 13:46:01 -05:00
Bryan Housel
0bb812c916 Merge pull request #4672 from openstreetmap/1ec5-num-format-3597
Localize numbers, units in scale, info panels
2018-01-23 18:05:37 -05:00
Bryan Housel
9cf3630439 Merge pull request #4694 from openstreetmap/1ec5-membership-title-4565
Describe relation in tooltip in add membership list
2018-01-23 17:32:46 -05:00
Gautier Pelloux-Prayer
58a4699508 Restore area fill from local storage including wireframe 2018-01-23 20:20:16 +01:00
Bryan Housel
ffc68d1cd6 Merge pull request #4720 from bagage/master
Restore last imageries used and disable features from local storage
2018-01-23 11:03:52 -05:00
Bryan Housel
6570365413 Use dark halo around text, switch to svgPath to get viewport clipping 2018-01-23 00:29:07 -05:00
Bryan Housel
34c170f6ca Merge pull request #4678 from nnodot/increase-gpxlabels-readability
Increase GPX labels readability
2018-01-22 23:32:43 -05:00
Bryan Housel
b35f6f3f15 highway=motorway_link no longer implies oneway=yes
(closes #4727)

iD still explicitly set the tag, and default it to `oneway=yes`
2018-01-22 21:45:14 -05:00
Gautier Pelloux-Prayer
b3da51b032 Restore user disabled features from local storage 2018-01-22 22:51:02 +01:00
Bryan Housel
de488e252f Draw covered/underground lines beneath areas
(closes #4718)
2018-01-22 15:06:58 -05:00
Gautier Pelloux-Prayer
5077f88a4d Restore latest imagery used from local storage 2018-01-21 23:04:16 +01:00
Bryan Housel
a508ec3c09 v2.6.0 2018-01-21 10:45:32 -05:00
Bryan Housel
24eba5c1b0 Preventing snapping at viewport edge also prevented finishing ways 2018-01-20 22:45:03 -05:00
Bryan Housel
d00bdc69a5 Fix vertex hovering (targets are GeoJSON now) 2018-01-20 01:20:29 -05:00
Bryan Housel
94f89f67c2 Adjacent segments should only be nope'd on the active (drawing) way
(closes #4713)
2018-01-20 00:09:04 -05:00
Bryan Housel
3838b02739 Add detect.cssfilters, fallback to opacity only on IE11/Edge
(re: #4711)
2018-01-19 17:28:35 -05:00
Bryan Housel
b0cba113e9 Fix directional vertices on IE11/Edge
(closes #4710)
2018-01-19 20:32:45 +00:00
Bryan Housel
467de651f7 Guard code from 9b99115b3 needs to be in undo_redo.js too 2018-01-19 13:49:20 -05:00
Bryan Housel
835d45ed6d Never let mouseCoordinates return NaN (fallback to map center) 2018-01-19 11:53:14 -05:00
Bryan Housel
9b99115b3e Guard code for context.mode
In case this is somehow called before initialization is complete
It happens rarely when restoring the initial changes and deferring rendering
2018-01-19 11:44:14 -05:00
Bryan Housel
1cfda3ec86 Only store zoomPan event in mousemove if it has a source event
(closes #4706)

d3 transitioned events don't have a source event,
causing mousemove to go null
2018-01-19 11:42:18 -05:00
Bryan Housel
1697c48360 Fix flickering and drag-node breakage in line endpoint walkthrough step 2018-01-18 22:02:56 -05:00
Bryan Housel
efc2678610 Fix feature list / current view searching
(closes #4690)
2018-01-18 17:55:14 -05:00
Bryan Housel
44234ede66 Make Help pane slightly wider
(re: "claustrophobia" on #4651, #4686)
2018-01-18 17:31:26 -05:00
Bryan Housel
40dc938580 Merge pull request #4693 from openstreetmap/doubled_back_routes
Fixes for joining and splitting bugs
2018-01-18 17:01:38 -05:00
Bryan Housel
7c918ba161 Allow Relation.replaceMember to optionally preserve duplicates
(closes #4696)
2018-01-18 16:52:23 -05:00
Bryan Housel
be9bbd9271 Add tests for member ordering: node, way, relation 2018-01-18 15:21:38 -05:00
Bryan Housel
8f9a46b75a Change actionAddMember to rearrange indexed members in place
This allows it to work around issues where a relation may
not be completely downloaded
2018-01-17 22:59:55 -05:00
Bryan Housel
8c9a0eb2c1 Fix doubleclick on line to create a point
(closes #4691)
2018-01-17 09:23:09 -05:00