Use Maki dentist icon

This commit is contained in:
Bryan Housel
2015-12-08 00:04:49 -08:00
parent de2e716d44
commit 6f6a250483
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -849,7 +849,7 @@
"name": "Courthouse"
},
"amenity/dentist": {
"icon": "hospital",
"icon": "dentist",
"fields": [
"address",
"building_area",
+1 -1
View File
@@ -1,5 +1,5 @@
{
"icon": "hospital",
"icon": "dentist",
"fields": [
"address",
"building_area",
+2
View File
@@ -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) {