use new messageBar api, only use visible layers at current scale for snaping