If a network uses overrideByName, its entry in the legend shows a blank space instead of any matching shields. For example, the legend for this view should show a shield beside the entry for Merritt Parkway:
This network’s definition relies on overrideByName:
If a network uses
overrideByName
, its entry in the legend shows a blank space instead of any matching shields. For example, the legend for this view should show a shield beside the entry for Merritt Parkway:This network’s definition relies on
overrideByName
:https://github.com/osm-americana/openstreetmap-americana/blob/b50ef87edd165240c119e49cb939d8d532ffe800/src/js/shield_defs.js#L1106-L1113
We need to add something similar to the special case for
overrideByRef
, which is working correctly:https://github.com/osm-americana/openstreetmap-americana/blob/b50ef87edd165240c119e49cb939d8d532ffe800/src/js/legend_control.js#L474-L478 https://github.com/osm-americana/openstreetmap-americana/blob/b50ef87edd165240c119e49cb939d8d532ffe800/src/js/legend_control.js#L503