mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Use Maki dentist icon
This commit is contained in:
@@ -849,7 +849,7 @@
|
||||
"name": "Courthouse"
|
||||
},
|
||||
"amenity/dentist": {
|
||||
"icon": "hospital",
|
||||
"icon": "dentist",
|
||||
"fields": [
|
||||
"address",
|
||||
"building_area",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"icon": "hospital",
|
||||
"icon": "dentist",
|
||||
"fields": [
|
||||
"address",
|
||||
"building_area",
|
||||
|
||||
@@ -12,6 +12,8 @@ iD.ui.PresetIcon = function() {
|
||||
icon = p.icon || (geom === 'line' ? 'other-line' : 'marker-stroked'),
|
||||
maki = iD.data.featureIcons.hasOwnProperty(icon + '-24');
|
||||
|
||||
if (icon === 'dentist') maki = true; // workaround for dentist icon missing in `maki-sprite.json`
|
||||
|
||||
function tag_classes(p) {
|
||||
var s = '';
|
||||
for (var i in p.tags) {
|
||||
|
||||
Reference in New Issue
Block a user