Commit Graph

26 Commits

Author SHA1 Message Date
Quincy Morgan 82f6bd73ae Account for all tags added upon choosing a preset, not just those in the preset's tags property 2019-02-12 15:16:02 -05:00
Quincy Morgan 2efe2adec9 Restore previous behavior of features hidden and autoHidden but accounting for 0 count features 2019-02-12 15:05:02 -05:00
Quincy Morgan 9007ccb8fd Disable preset buttons for hidden layers 2019-02-12 14:43:04 -05:00
Quincy Morgan 19e262643d Fix issue where "other" ways were not sorted into the "other" category for hiding purposes 2019-02-11 13:38:37 -05:00
Quincy Morgan e1da28bcd6 Hide lines that are members of boundary relations when boundaries are hidden (close #5601) 2019-02-11 13:22:20 -05:00
Bryan Housel ba44c80076 Force visible any entities related to a selected error
(closes #5880)
2019-02-10 23:29:49 -05:00
Bryan Housel 723155eadf Add building and bench fields to amenity=shelter preset
(closes #5084)

This also removes the rules that would treat `amenity=shelter` as
a building for rendering and for feature filtering.
2018-06-18 13:45:39 -04:00
Bryan Housel c42556ec96 When boundaries are shared with roads, consider them as roads.
(closes #4973)

This is same as existing logic in the feature matching code
for the "rail" and "past_future" rules.
2018-04-09 12:59:13 -04:00
Gautier Pelloux-Prayer b3da51b032 Restore user disabled features from local storage 2018-01-22 22:51:02 +01:00
Bryan Housel 30ff68348f Don't disable boundries when disable_features list is present
(also removed some unused functions)
2017-10-23 15:53:46 -04:00
Bryan Housel dbf85dae43 If no features are disabled remove the querystring parameter 2017-10-22 22:42:35 -06:00
Bryan Housel 469df0b059 Change features to disable_features querystring, add init() 2017-10-22 12:00:51 -06:00
Nikita Mashukov bac4da5abe using spaces instead tabs 2017-10-14 17:46:29 +07:00
Nikita Mashukov f92e248e5a init features logic fix 🐛 2017-10-14 17:41:15 +07:00
Nikita Mashukov 5a980ec24f tabs are replaced by spaces 2017-10-14 17:06:51 +07:00
Nikita Mashukov 7cd3882cf8 missed semicolon is added 2017-10-14 17:03:21 +07:00
Nikita Mashukov b7b5171a2f add features api parameter which enables the list of features 2017-10-14 12:08:12 +07:00
Bryan Housel d906ca6b10 Convert lodah-es and d3 to named imports for renderer 2017-09-25 14:35:33 -04:00
Bryan Housel f98b89cd15 Eliminate some more unnecessary lodash in hot code 2016-10-30 22:39:32 -04:00
Bryan Housel 07fa5fcc34 Refactor Entity, Node, Relation, Tags, Way from core to osm 2016-10-11 22:41:24 -04:00
Bryan Housel 3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel a86f34b4ef Pacify eslint, get build and tests running again 2016-08-26 01:15:07 -04:00
Tom MacWright cdb533fa84 Begin d3 v4 update 2016-08-21 15:19:27 -04:00
Tom MacWright 604d1e2719 import lodash (#3257) 2016-07-19 12:04:16 -04:00
Kushan Joshi 6a56ad547c external modules for renderer 2016-06-22 12:34:43 +05:30
Kushan Joshi 46d68bca87 modularize iD.renderer 2016-06-17 12:53:19 +05:30