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
This commit is contained in:
Bryan Housel
2018-06-08 16:06:46 -04:00
parent 2ef12f8bca
commit 470835b38f
309 changed files with 2276 additions and 504 deletions
+4 -4
View File
@@ -229,7 +229,7 @@ export function uiMapData(context) {
d3_event.stopPropagation();
gpx.fitZoom();
})
.call(svgIcon('#icon-search'));
.call(svgIcon('#iD-icon-search'));
liEnter
.append('button')
@@ -246,7 +246,7 @@ export function uiMapData(context) {
})
.node().click();
})
.call(svgIcon('#icon-geolocate'));
.call(svgIcon('#iD-icon-geolocate'));
var labelEnter = liEnter
.append('label')
@@ -453,7 +453,7 @@ export function uiMapData(context) {
.append('button')
.attr('tabindex', -1)
.on('click', togglePane)
.call(svgIcon('#icon-data', 'light'))
.call(svgIcon('#iD-icon-data', 'light'))
.call(paneTooltip);
@@ -468,7 +468,7 @@ export function uiMapData(context) {
heading
.append('button')
.on('click', function() { uiMapData.hidePane(); })
.call(svgIcon('#icon-close'));
.call(svgIcon('#iD-icon-close'));
var content = pane