It's zoomToExtent, not setExtent