Commit Graph

8235 Commits

Author SHA1 Message Date
Bryan Housel dba4626cfa Merge pull request #4575 from openstreetmap/background_pane
Enhancements to Background, Map Data, Help panes
2018-01-03 15:32:18 -05:00
Bryan Housel 9155641e5e Remove background opacity pngs so #4575 will merge cleanly 2018-01-03 15:28:08 -05:00
Bryan Housel 04fa29cfe6 Move link to imagery faq, reword as "Imagery Info / Report a Problem"
(closes #4546)
2018-01-03 15:23:47 -05:00
Bryan Housel 46ebe02555 Clean up styles, move minimap toggle below background imagery list 2018-01-03 14:35:27 -05:00
Bryan Housel 53aa2973e4 Refactor display options controls to uiBackgroundDisplayOptions 2018-01-03 01:47:25 -05:00
Bryan Housel 48834a0ea5 Add reset buttons for display sliders 2018-01-02 23:41:21 -05:00
Bryan Housel baeff8f59c Don't autocomplete a longer value if search matches a value exactly
(closes #4549)
2018-01-02 17:55:25 -05:00
Bryan Housel 11d0ec87cf Merge pull request #4624 from nnodot/empty-changeset-comment-style
Highlight the changeset editor when the comment is empty
2018-01-02 16:46:55 -05:00
Bryan Housel 31770b3957 Add Car Pooling preset
(closes #4623)
2018-01-02 16:30:32 -05:00
greenkeeper[bot] d2ffde8b48 chore(package): update rollup to version 0.53.3 2018-01-02 15:47:30 -05:00
Bryan Housel 18bec2be18 Set Payment Type as universal field, add it to many presets
(closes #4437)
2018-01-02 15:42:23 -05:00
Bryan Housel 8928e95da2 Allow fallback presets (area, line, point) to appear in the recent list
(closes #4612)
2018-01-02 15:07:35 -05:00
Bryan Housel 1658ada4db Switch from "commercial" to "suitcase" icon for most offices
Probably should have just done this when we did #4590
The "commercial" icon looks more like a retail storefront.
2018-01-02 14:25:40 -05:00
Bryan Housel 536c71dc6b Remove duplicate Notary Office preset
(closes #4634)
2018-01-02 14:25:12 -05:00
Bryan Housel 9f1b71bb7e Add support for junction=circular (same as junction=roundabout)
(closes #4637)
2018-01-02 13:27:11 -05:00
Bryan Housel a20d26fc9b Add search terms "kennel" "cattery" "pet" to Animal Boarding preset
(closes #4647)
2018-01-02 12:56:19 -05:00
Bryan Housel 05d8620efe Merge branch 'willemarcel-node-number' 2018-01-02 11:49:10 -05:00
Bryan Housel 74b6c1208f Add light bulb icon for highway=street_lamp preset
(closes #4609)
2018-01-02 11:48:24 -05:00
Bryan Housel 47b9c9976b Merge pull request #4644 from willemarcel/node-number
add number of nodes information to measurement panel
2018-01-02 09:02:38 -05:00
Bryan Housel 240c80dcd5 Merge branch 'node-number' of https://github.com/willemarcel/iD into willemarcel-node-number 2018-01-02 09:00:16 -05:00
Wille Marcel 9f1b928f89 add number of nodes information to measurement panel 2018-01-02 10:45:44 -03:00
Bryan Housel bf1f429f9c Update to rollup v0.53.2 2018-01-02 08:30:47 -05:00
Bryan Housel 55545fe25a Merge pull request #4643 from willemarcel/love_hotel
add preset for amenity=love_hotel
2018-01-02 08:26:38 -05:00
Wille Marcel 88c71c182c add preset for amenity=love_hotel 2018-01-02 10:07:00 -03:00
Bryan Housel be5929d4dc Merge pull request #4602 from openstreetmap/direction_vertices
Support rendering `direction` on vertices (stop sign, traffic_signals, etc)
2018-01-01 23:02:45 -05:00
Bryan Housel ddaa828ec9 Handle both target GeoJSON and osmEntity in hover
(fixes test and allows hover on the area fills again)
2018-01-01 22:53:40 -05:00
Bryan Housel 6881205d43 All touch targets are GeoJSON now
This makes the code a bit more consistent and lets us avoid some
hacky and probably non-performant things:
- abusing CSS classes in the draw/drag datum functions (classed `.target`)
  (is this thing target? just check d.properties)
- regexing the id for `-nope$`
  (is this thing a nope target? just check d.properties)
- using context.hasEntity to get a the real entity
  (is this thing a real osmEntity? just check d.properties)
- fixes code like the restriction editor which uses fake ids for split ways
2018-01-01 22:37:10 -05:00
Bryan Housel 9c27893748 Check for valid multipolygon geometry when dragging nodes
(this can get a bit expensive for large/complex multipolygons)
2017-12-31 02:26:19 -05:00
Bryan Housel 573158ede0 Merge pull request #4630 from ajlomagno/fix-click-counter-persisting
Fixed click counter persisting
2017-12-30 23:02:39 -05:00
Bryan Housel 6d8bbdddcd Merge pull request #4640 from briandaviddavidson/4596
Lower z-index to be smaller than shaded class
2017-12-30 23:01:24 -05:00
Brian Davidson 012f033095 Make z-index one smaller than .shaded class 2017-12-29 19:02:29 -05:00
Brian Davidson d02a880d8a Lower the z-index 2017-12-29 18:58:49 -05:00
Bryan Housel 1bd41b894c Add direction tagging to intro graph for walkthrough 2017-12-29 16:04:03 -05:00
Bryan Housel 35f8d56249 Update direction fields and add to several presets 2017-12-29 01:25:45 -05:00
Bryan Housel 08cd2c7325 Tests for geoHasSelfIntersections 2017-12-28 23:46:08 -05:00
Bryan Housel 4f02340374 Extract self-intersection code to geoHasSelfIntersections
Test for self-intersecting areas in both drag_node and draw_way
2017-12-28 23:10:52 -05:00
Bryan Housel 462fef148d Remove unused imports (eslint warning) 2017-12-28 21:20:14 -05:00
Bryan Housel 7af73c10ef Refactor geometric math functions from geo.js to geom.js 2017-12-28 01:28:38 -05:00
Bryan Housel 96afbbd785 Refactor vector math functions from geo.js to vector.js 2017-12-28 01:08:11 -05:00
Bryan Housel fa7a6ebb12 Snap to nope line targets too, also remove svgBlocker, not needed
(it's easier to just class the surface, and won't interfere with snapping)
2017-12-27 22:51:36 -05:00
ajlomagno 5d3df25960 Moved cleanuo code to exit function in welcome.js 2017-12-27 13:19:22 -05:00
Bryan Housel 6d9e028a56 Update rollup to v0.53.0 2017-12-26 22:45:12 -05:00
Bryan Housel c1d1c63033 Update d3 to v4.12.2 2017-12-26 22:40:59 -05:00
greenkeeper[bot] e430be407e chore(package): update mapillary-js to version 2.10.1 2017-12-26 22:36:24 -05:00
greenkeeper[bot] 052d2a39bb fix(package): update marked to version 0.3.9 2017-12-26 22:36:02 -05:00
greenkeeper[bot] 4622b1d489 fix(package): update rbush to version 2.0.2 2017-12-26 22:34:11 -05:00
ajlomagno 81910d4f27 Fixed click counter persisting 2017-12-26 15:12:11 -05:00
Bryan Housel ee617779a4 Snap to nope targets too (snapping is useful feedback)
Also remove "acting" cursor, which was overriding the no-action
cursor in some situations.
2017-12-25 23:11:00 -05:00
Bryan Housel 009d7b0d65 Add layer blocker and polygon self-intersection geometry check 2017-12-24 09:21:59 -05:00
Bryan Housel 9fbb4d350f Add geoVecEquals for strict comparisons 2017-12-23 22:33:35 -05:00