disable zoomToLayer for non-local files