Application instance.
IDs to hide by type.
HTML checkbox element controlling layer/feature visibility.
Layer or object being shown/hidden.
Optional
id: string = undefinedOptional ID reference.
Optional
mesh: boolean = falseWhether this is for a mesh layer.
Handles show/hide checkbox changes, synchronizes layer/mesh state, and ensures exclusivity for mesh layers.