Restrict map to maxextent.