Commit Graph

12532 Commits

Author SHA1 Message Date
J Guthrie 7bf4c462e8 Lowered redraw threshold to 2px 2018-11-21 09:25:30 +00:00
J Guthrie c002ab8b1d Only redraw restrictions panel every 10px sidebar is dragged 2018-11-21 09:05:33 +00:00
Bryan Housel c70d04efd1 Upgrade code for name-suggestion-index v1
- we now import all the name suggestions
- get rid of the code to pick a single name based on count
- get rid of "hacky" code to set healthcare tags
- we now actually match on brand:wikidata tag, not name
2018-11-20 21:36:25 -05:00
Bryan Housel e3f5aecda9 Remove dataSuggestions and utilSuggestNames
- dataSuggestions was just a reexport of the name-suggestion-index
- utilSuggestNames was a combobox fetcher function used only once by uiFieldLocalized
    Doesn't need to be a util if it's only used once in the code
    and the tests for it were not really that interesting
2018-11-20 21:27:32 -05:00
Quincy Morgan 152f658f3e Merge pull request #5509 from quincylvania/save-count-padding
Visually centers the change count in the save button
2018-11-20 18:32:02 -05:00
Quincy Morgan 39ce188488 Adjusts save count padding slightly 2018-11-20 18:31:33 -05:00
Quincy Morgan 49df1d0364 Visually centers the change count in the save button 2018-11-20 18:27:50 -05:00
Bryan Housel 6c8f9c4e10 Merge branch 'master' into greenkeeper/name-suggestion-index-1.0.0 2018-11-20 17:11:01 -05:00
greenkeeper[bot] 289fe70108 chore(package): update osm-community-index to version 0.4.8 2018-11-20 17:08:09 -05:00
greenkeeper[bot] cda1782287 chore(package): update name-suggestion-index to version 1.0.0 2018-11-20 22:02:58 +00:00
greenkeeper[bot] 94ce9d2f10 fix(package): update marked to version 0.5.2 2018-11-20 15:59:55 -05:00
Bryan Housel 8bb4af5798 disable ui zooming on IE and Edge
(re #5492)
2018-11-20 19:45:11 +00:00
J Guthrie 5fc312620f Converted to using custom Event 2018-11-20 18:39:00 +00:00
Bryan Housel 005e227550 Merge branch 'zoom_pan' 2018-11-20 11:49:33 -05:00
Bryan Housel 9627e1e261 Test in all browsers, improve calcs, cleanup code 2018-11-20 11:48:27 -05:00
Bryan Housel 45a3e58c37 Add support for 2-finger pan and zoom gestures
Also adjust the zooming delta function on Firefox
(which uses wheel events in line units instead of pixel units)
2018-11-19 22:40:23 -05:00
J Guthrie 6137941efd Redraw restrictions panel when dragging sidebar 2018-11-19 15:23:30 +00:00
Quincy Morgan 82263aea7c Adds a Wikidata field 2018-11-18 19:38:19 -05:00
Bryan Housel 107f669edd Merge pull request #5499 from RudyTheDev/more-fill-patterns
Add fill patterns for various areas
2018-11-18 17:47:49 -05:00
RudyTheDev ff8723e194 Add water waves fill pattern and pond-specific pattern 2018-11-18 22:12:40 +02:00
RudyTheDev b18dfb4030 Add landfill fill pattern, farmyard pattern (and remove farm pattern), implement vineyard fill pattern 2018-11-18 21:39:09 +02:00
RudyTheDev 46f762c0a6 Add quarry fill pattern 2018-11-18 20:52:33 +02:00
RudyTheDev f41bb055f2 Add fill patterns for cemetery most common religions 2018-11-18 20:41:58 +02:00
Quincy Morgan 7bad67ff76 Flexbox preset field, member, and membership UI 2018-11-18 11:28:48 -05:00
mm 243f24a641 reduce fire_hydrant fields 2018-11-17 21:57:28 +01:00
Bryan Housel b7e218a6cb Remap Safari gesture events to wheel events - #5492
(still needs some more testing)
2018-11-17 02:31:15 -05:00
Bryan Housel f61c482188 Merge pull request #5491 from RudyTheDev/pattern-tag-use
Forest and wetland sub-type fill patterns
2018-11-16 12:32:17 -05:00
RudyTheDev 76eeb91495 Optimize the new fill pattern PNGs 2018-11-16 13:47:09 +02:00
RudyTheDev 3e2eaa6635 Allow fill pattern definitions to have short-hand syntax when there's only one pattern "rule" 2018-11-16 13:34:23 +02:00
RudyTheDev 1e51d5ff23 Add new wetland fill patterns; clean up pattern selection code 2018-11-16 12:51:31 +02:00
RudyTheDev 99ace5c791 Expand fill pattern definitions with optional tag-value pair requirement; add forest/wood broadleaved, needleleaved and leafless patterns using the new rules 2018-11-16 02:22:18 +02:00
RudyTheDev 1f6828a24f Further change fill pattern definitions to allow iterating over "rules" 2018-11-16 01:37:58 +02:00
RudyTheDev b22dfb7ebb Change the fill pattern definition to have strict tag-value pairs 2018-11-16 00:14:54 +02:00
Bryan Housel 4e8cb9e8b0 remove duplicate scrub pattern 2018-11-15 14:27:39 -05:00
Bryan Housel a19b30c090 Merge pull request #5489 from RudyTheDev/new-stylings
Pattern stylings for forest and grass
2018-11-15 14:24:34 -05:00
RudyTheDev 1106e593e4 Merge branch 'master' into new-stylings 2018-11-15 18:56:34 +02:00
RudyTheDev 2e9d1209e6 Add a new pattern "grass" for grass/meadow instead of dots 2018-11-15 17:45:14 +02:00
RudyTheDev 473cd60986 Add a new pattern "forest" for forest/wood; use dots for grass; use bushes (wetlands) for scrub 2018-11-15 16:40:40 +02:00
momu a8369ae0e4 Merge branch 'master' into fire-hydrants 2018-11-14 23:04:18 +01:00
mm daa03e89d2 fire_hydrants finalized 2018-11-14 22:40:14 +01:00
Bryan Housel f4b9da4029 Merge branch 'tile_view' 2018-11-14 14:51:23 -05:00
Bryan Housel 1731ce4651 Partition viewport by tiles, not by pixels
(closes #4297)

The previous approach split the viewport up by pixels, but each time the view
moved, the pixels would change, so it was not a stable selection of the
streetview data, and the markers would fight for position as the user moved
around.

This approach uses utilTiler to partition the view into stable tiles.
2018-11-14 14:48:42 -05:00
Bryan Housel 317a3be93b Add tiler.getGeoJSON, useful for debugging tile settings 2018-11-14 14:22:10 -05:00
Bryan Housel e99334afed Merge pull request #5486 from quincylvania/mast-tower-presets
Communication Mast and Tower presets
2018-11-13 22:57:38 -05:00
Bryan Housel 5f2ba5a100 Update rollup dependency
(closes #5478)
2018-11-13 22:55:56 -05:00
Bryan Housel 152022aec4 Use context.keybinding for keybindings that don't change
(closes #5487)
2018-11-13 20:57:21 -05:00
Bryan Housel bb30cbf555 Move lib/d3.keybinding.js -> util/keybinding.js
almost none of the original d3 "plugin" code remains
2018-11-13 13:42:09 -05:00
Quincy Morgan acd1a6ab51 Updates terms for Mobile Phone Mast and Television Mast presets 2018-11-12 21:25:28 -08:00
Quincy Morgan 4fe05602cf Adds Communication, Mobile Phone, Television, and Radio Mast presets
Adds Communication Tower preset
Corrects the paths of the Observation Tower and Surveillance Camera presets
2018-11-12 21:17:34 -08:00
Bryan Housel 2ffcec965a Don't snap notes to OSM elements
(closes #5191)
2018-11-12 17:23:38 -05:00