Add margin parameter for zoomToExtent and zoomToModel.