updated: changes to focus on any marker when layer is turned on