Commit Graph

50 Commits

Author SHA1 Message Date
Bryan Housel
7f2c2062b0 Honor the user's third party icon preference 2019-12-18 17:46:21 -05:00
Bryan Housel
a47029897b Reset showing-img class on update selection 2019-12-18 17:10:18 -05:00
Bryan Housel
491d57af48 Comment routeSegments 2019-12-18 16:35:55 -05:00
Bryan Housel
20f90f8a67 Use foreach instead of for loops for clarity
Also rename `loc` to `point` (elsewhere in iD code `loc` is a lon/lat)
2019-12-18 16:10:32 -05:00
Bryan Housel
afba5797e1 es6 preset_icon.js 2019-12-17 14:51:10 -05:00
Quincy Morgan
9d367d133f Cherry pick preset image error fallback 2019-11-07 20:12:18 +01:00
Quincy Morgan
e4237f9280 Don't show pattern fills on are preset icons (re: #6900) 2019-09-30 14:18:56 +02:00
Quincy Morgan
2ccdc438f4 Render area fill patterns in preset icons (close #6900) 2019-09-30 12:27:33 +02:00
Quincy Morgan
2967d2d020 Add support for icons from the noun project (close #5691) 2019-04-16 18:06:05 -07:00
Quincy Morgan
3a2757576b Add Monorail Route, Turnstile, and Transit Stop Area Group presets (close #5757) 2019-04-16 11:41:56 -07:00
Quincy Morgan
ae80c88f37 Render relation route icon lines dynamically (close #5926) 2019-04-08 19:58:50 -07:00
Quincy Morgan
d65298f383 Fix issue where generic vertex icon wouldn't show (close #6138) 2019-04-03 09:29:14 -07:00
Quincy Morgan
3d4c5c6087 Display logos for name-suggestion-index brands in the sidebar (close #5167) 2019-03-28 14:20:46 -04:00
Quincy Morgan
e314df7b08 Use iD point, line, and area icons for those presets in the search results 2019-03-19 15:57:59 -04:00
Quincy Morgan
0dfd65787b Fix issue with stale vertex icon 2019-03-06 13:08:22 -05:00
Quincy Morgan
7bf73111c4 Don't use double point icons
Remove subsections when reloading
2019-03-04 10:28:13 -05:00
Quincy Morgan
9f3329149c Add basic arrow key navigation of the search-to-add bar 2019-03-04 10:03:05 -05:00
Quincy Morgan
2f40854780 Use the same point path for the point preset icon as in the map 2019-03-04 08:41:48 -05:00
Quincy Morgan
3723c741f1 Add border to point icons in top bar 2019-03-02 14:47:48 -05:00
Quincy Morgan
4a82604cab Add search-to-add functionality 2019-02-28 15:00:00 -05:00
Quincy Morgan
dd74a18206 Tweak favorite mode spacing
Don't show area midpoint dots on small preset icons
2019-02-27 14:27:03 -05:00
Quincy Morgan
04247eb985 Merge branch 'master' into squash-favorite-preset 2019-02-27 14:08:55 -05:00
Quincy Morgan
d613714137 Draw area preset icon frame parametrically in code rather than with external SVG resource 2019-02-27 14:06:35 -05:00
Quincy Morgan
0a0e4890ca Nicer favorite preset icon rendering in the top bar 2019-02-27 11:28:24 -05:00
Quincy Morgan
b409f260f7 Render preset icons fills as SVG rather than HTML elements 2019-02-27 10:51:24 -05:00
Quincy Morgan
9a5101dbcb Convert preset icon to use percentages for size and position rather than explicit pixel values 2019-02-26 17:21:11 -05:00
Quincy Morgan
d0c29f8554 Tweak line icon display 2019-02-14 10:06:50 -05:00
Quincy Morgan
d63430e66a Line preset icons:
- Render vertices with SVG
- Add viewBox to SVG
- Don't reload static parts of the SVG on every update
- Use dimensions that are friendly for low-res displays
- Use nicer-looking stroke dash patterns for ferry routes and railways
2019-02-14 09:40:17 -05:00
Quincy Morgan
ed95fafac9 Add endpoint vertices to the preset icon line 2019-02-13 16:12:29 -05:00
Quincy Morgan
f443144fc6 Update preset icons to use same tag classes as map SVG 2019-02-13 13:11:27 -05:00
Quincy Morgan
041e05ec90 Make the line component of the line preset icons dynamic and match the line styling in the map 2019-02-13 12:01:40 -05:00
Bryan Housel
e37dbbd3e1 Style preset icon fill with building if it has a building_area field
These are presets that default to `building=yes` so they should look like
buildings.
2019-01-17 14:28:57 -05:00
Bryan Housel
470835b38f Extract all graphics from iD sprite, reassemble with svg-sprite
All iD sprite graphics are now prefixed with `iD-`
Also includes support for sending the preset logos to taginfo
2018-06-08 16:06:46 -04:00
Bryan Housel
cbfe23c9e1 Support FontAwesome solid, regular, and brands
(might as well.. only the used ones get bundled into the fa-sprite anyway)
2018-06-06 17:59:28 -04:00
Bryan Housel
2dd7bfc849 Add support for FontAwesome icons as preset icons
(closes #3025)
2018-06-06 02:19:38 -04:00
Bryan Housel
da10b6b254 Add maki- prefix to all maki icons
(re: #3924)
2018-06-05 22:12:33 -04:00
Bryan Housel
5901be1027 Replace poi- icons with temaki- icons
(re: #3924)
2018-06-05 13:08:43 -04:00
Bryan Housel
3d13620705 Convert lodah-es and d3 to named imports for ui 2017-09-26 11:22:43 -04:00
Bryan Housel
52d37d999b Style vertices in the preset list with circular frame
(closes #3569)
2017-03-08 16:46:30 -05:00
Bryan Housel
0511c5e968 Add poi icons for power, mast 2017-03-04 08:07:13 -05:00
Bryan Housel
9ce06549e1 Add new poi icons, make them work on point, vertex, area label
(closes #3856)
2017-02-26 23:28:29 -05:00
Bryan Housel
04b9c08bff Adjust maki sizes and fill opacity
New icons are solid fill and take up a bit more of the icon space, so need to
be scaled differntly.
2017-01-14 23:06:23 +05:30
Ajith Ranka
95c3d31c79 Don't add tag classes to maki icons 2017-01-13 17:46:43 +05:30
Ajith Ranka
3379d5d9ba Fix isMaki, reset sizes, remove unnecessary checks 2017-01-13 15:04:58 +05:30
Bryan Housel
3102a4ae6a Rename all the things to include pseudonamespaces 2016-10-04 19:06:20 -04:00
Bryan Housel
8a81293b0c Fix preset list and icons 2016-09-17 15:02:48 -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
8819d3d061 Remove continued iD references (#3341)
* Remove continued iD references

* make build.js safe enough to dodge json plugin bug

* Package as an iife to avoid var name issue
2016-08-10 20:06:45 -07:00
Kushan Joshi
7188065a6c disband ui/core 2016-07-02 19:04:51 +05:30