67 Commits

Author SHA1 Message Date
Kyℓe Hensel
3b24932bda fix highway=busway not supported in the turn restriction editor (#9633) 2023-11-14 09:53:23 +01:00
Martin Raifer
98e9a11a51 add Röntgen icon set 2023-01-23 20:42:03 +01:00
Martin Raifer
69edff39f0 fix missing vertex icon, improve fallback icons for untagged objects
closes #9157
2022-06-20 11:19:59 +02:00
Martin Raifer
bd1836fd0c fix maki icons, tweak rendering of icons
* maki v7+ doesn't have provide "11px" icons anymore
* use 12px for icons on points & vertices on map (instead of 11px)
* use 12px for icons on QA tool (improveOSM, osmose) markers (instead of 13px)
* drop some unused code
2022-02-14 18:07:27 +01:00
Martin Raifer
cb96257c63 explicit coloring of preset categories 2021-11-16 17:58:52 +01:00
Quincy Morgan
c61924407d Add icon styling for Mountain Biking Route preset (re: https://github.com/openstreetmap/id-tagging-schema/issues/99) 2020-12-21 10:08:55 -05:00
Quincy Morgan
17cd39a6f7 Use addTags for preset category icon classes 2020-12-07 15:17:20 -05:00
Quincy Morgan
998f0c02b4 Use area fills for category icons (close #6986) 2020-12-07 14:55:09 -05:00
Quincy Morgan
9f6aaf2438 Add folder border to preset category icons (close #6085) 2020-12-03 13:13:08 -05:00
Quincy Morgan
07a59ba3a4 Break out some preset icon functions (re: #8117) 2020-12-03 12:23:09 -05:00
Quincy Morgan
ba48a861bc Enable curly and block-spacing eslint rules 2020-11-10 14:19:11 -05:00
Quincy Morgan
17ab0b824d Enable complexity eslint rule and simplify uiPresetIcon.render function 2020-10-23 11:51:33 -04:00
Quincy Morgan
f9fcc03e20 Update to temaki v4.2.0
Drop the noun project (close #8030)
Drop request (close #7959)
2020-09-28 13:58:27 -04:00
Quincy Morgan
06f487140d Switch order of from/to fields in route presets (re: #7479)
Add Trolleybus Route preset (re: #7498)
Remove Level field from Stop Position presets (close #7499)
Add Stop Number field to transit platform-as-point presets (close #7492)
Add Distance and Color fields to more route presets
Use field inheritance for several more route presets
2020-04-03 11:00:16 -07:00
Quincy Morgan
60f7dc7c0b Replace presets property of context with singleton
Remove utilPreset
2020-04-01 13:08:45 -07:00
Quincy Morgan
a58abe3c6f Move localStorage interface from a property of coreContext to a corePreferences function 2020-04-01 11:00:48 -07:00
Bryan Housel
2a2668b01b Can't use ES6 fat-arrow functions with arguments
see buble bug https://github.com/bublejs/buble/issues/208
2020-01-24 17:22:03 -05:00
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