ZoomToLayer extent does not work for Vector layers. Close #362.