How do I hide elements without connections?
Elements without any connections are called "orphans" and might sometimes distract from your main map.
To hide orphans in your map, use the
ignore-orphansproperty in the
@settingsblock to automatically filter out any elements that have no connections. Possible values for this property are
You might not always want to hide the orphans in your map. To add a handy control to your map that toggles orphans on and off whenever needed, add this code to your advanced editor:
label: "Hide elements without connections";