diff --git a/google-maps-static.el b/google-maps-static.el index 644408d..98d9ac8 100644 --- a/google-maps-static.el +++ b/google-maps-static.el @@ -332,7 +332,7 @@ PLIST can contains this properties: "Zoom a Google map in." (interactive) (unless (plist-member google-maps-static-params :zoom) - (error "Current zoom level is unknown, cannot zoom in.")) + (plist-set google-maps-static-params :zoom google-maps-static-default-zoom)) (google-maps-static-zoom (1+ (plist-get google-maps-static-params :zoom)))) (defun google-maps-static-zoom-out ()