Skip to content

Commit 98e9a11

Browse files
committed
add Röntgen icon set
1 parent e1c0873 commit 98e9a11

File tree

477 files changed

+959
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

477 files changed

+959
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ _Breaking developer changes, which may affect downstream projects or sites that
3737

3838
# Unreleased
3939

40+
#### :mega: Release Highlights
41+
* Add [Röntgen icon set](https://github.com/enzet/map-machine#r%C3%B6ntgen-icon-set) for presets, etc.
4042
#### :bug: Bugfixes
4143
* Fix context "edit" menu on touchscreens: render labels properly and always open the touch-specific edit menu ([#9425])
4244
#### :hammer: Development

data/core.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,6 +1468,7 @@ en:
14681468
before_start: "You should be familiar with OpenStreetMap and this editor before you start editing. iD contains a walkthrough to teach you the basics of editing OpenStreetMap. Press the \"{start_the_walkthrough}\" button on this screen to start the tutorial—it takes only about 15 minutes."
14691469
open_source_h: "Open Source"
14701470
open_source: "The iD editor is a collaborative open source project, and you are using version {version} now. The source code is available [on GitHub](https://github.com/openstreetmap/iD)."
1471+
open_source_attribution: "This project includes icons from [Maki](https://github.com/mapbox/maki) (CC0), [temaki](https://github.com/ideditor/temaki) (CC0), [Fontawesome](https://github.com/FortAwesome/Font-Awesome) (CC BY 4.0) and [Map Machine](https://github.com/enzet/map-machine) (CC BY 4.0)."
14711472
open_source_help: "You can help iD by [translating](https://github.com/openstreetmap/iD/blob/develop/CONTRIBUTING.md#translating) or [reporting bugs](https://github.com/openstreetmap/iD/issues)."
14721473
overview:
14731474
title: Overview

modules/svg/defs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function svgDefs(context) {
1313
var _defsSelection = d3_select(null);
1414

1515
var _spritesheetIds = [
16-
'iD-sprite', 'maki-sprite', 'temaki-sprite', 'fa-sprite', 'community-sprite'
16+
'iD-sprite', 'maki-sprite', 'temaki-sprite', 'fa-sprite', 'roentgen-sprite', 'community-sprite'
1717
];
1818

1919
function drawDefs(selection) {

modules/ui/panes/help.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export function uiPaneHelp(context) {
1818
'before_start',
1919
'open_source_h',
2020
'open_source',
21+
'open_source_attribution',
2122
'open_source_help'
2223
]],
2324
['overview', [

modules/ui/preset_icon.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ export function uiPresetIcon() {
298298
const isMaki = picon && /^maki-/.test(picon);
299299
const isTemaki = picon && /^temaki-/.test(picon);
300300
const isFa = picon && /^fa[srb]-/.test(picon);
301-
const isiDIcon = picon && !(isMaki || isTemaki || isFa);
301+
const isRöntgen = picon && /^roentgen-/.test(picon);
302+
const isiDIcon = picon && !(isMaki || isTemaki || isFa || isRöntgen);
302303

303304
let icon = container.selectAll('.preset-icon')
304305
.data(picon ? [0] : []);

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"dist:svg:maki": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"maki-%s\" --symbol-sprite dist/img/maki-sprite.svg node_modules/@mapbox/maki/icons/*.svg",
3131
"dist:svg:mapillary:signs": "svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-sprite.svg node_modules/mapillary_sprite_source/package_signs/*.svg",
3232
"dist:svg:mapillary:objects": "svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-object-sprite.svg node_modules/mapillary_sprite_source/package_objects/*.svg",
33+
"dist:svg:roentgen": "svg-sprite --shape-id-generator \"roentgen-%s\" --shape-dim-width 16 --shape-dim-height 16 --symbol --symbol-dest . --symbol-sprite dist/img/roentgen-sprite.svg svg/roentgen/*.svg",
3334
"dist:svg:temaki": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"temaki-%s\" --symbol-sprite dist/img/temaki-sprite.svg node_modules/@ideditor/temaki/icons/*.svg",
3435
"imagery": "node scripts/update_imagery.js",
3536
"lint": "eslint scripts test/spec modules",

svg/fontawesome/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ Do not edit the files in this folder.
22

33
This folder contains Font Awesome icons which are used by the presets.
44
The icons are generated automatically by the `build_data.js` script.
5+
6+
The contents of this folder are © Fontawesome ([CC BY 4.0](https://github.com/FortAwesome/Font-Awesome#license)).

svg/roentgen/LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Röntgen icons (c) by Sergey Vartanov
2+
3+
Röntgen icons are licensed under a Creative Commons Attribution 4.0
4+
International License.
5+
6+
You should have received a copy of the license along with this work. If not,
7+
see <http://creativecommons.org/licenses/by/4.0/>.

svg/roentgen/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Do not edit the files in this folder.
2+
3+
This folder contains Roentgen icons.
4+
The icons are generated semi-automatically by running `map-machine icons` after [installing](https://github.com/enzet/map-machine#installation) Map Machine.
5+
6+
The contents of this folder are © Map Machine ([CC BY 4.0](https://github.com/enzet/map-machine#r%C3%B6ntgen-icon-set)).
Lines changed: 2 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)